/* ============================================
   RETHEME — Override anciennes couleurs inline
   Ce fichier corrige les couleurs violettes/roses
   utilisées en inline dans les views admin/customer/booking
   ============================================ */

/* -------------------------------------------
   Boutons avec anciens gradients violet
   ------------------------------------------- */
a[style*="667eea"],
button[style*="667eea"],
a[style*="764ba2"],
button[style*="764ba2"] {
    background: #c8842a !important;
    color: white !important;
}

a[style*="667eea"]:hover,
button[style*="667eea"]:hover {
    background: #a66b1c !important;
}

/* -------------------------------------------
   Textes colorés en violet → ambre
   ------------------------------------------- */
h2[style*="667eea"],
h3[style*="667eea"],
h4[style*="667eea"],
strong[style*="667eea"],
span[style*="667eea"],
div[style*="color: #667eea"] {
    color: #a66b1c !important;
}

/* -------------------------------------------
   Bordures violet → sable
   ------------------------------------------- */
div[style*="border"][style*="667eea"] {
    border-color: #c8842a !important;
}

div[style*="border"][style*="e2e8f0"] {
    border-color: #e8e4de !important;
}

/* -------------------------------------------
   Backgrounds gradient violet → sombre ambre
   ------------------------------------------- */
div[style*="linear-gradient"][style*="667eea"],
div[style*="linear-gradient"][style*="764ba2"] {
    background: linear-gradient(145deg, #1a1714, #3d2e1f) !important;
}

/* -------------------------------------------
   Background info bleu-violet → ambre clair
   ------------------------------------------- */
div[style*="background: #e0e7ff"],
div[style*="background:#e0e7ff"] {
    background: #fdf4e7 !important;
}

div[style*="border"][style*="solid #667eea"] {
    border-color: #c8842a !important;
}

/* -------------------------------------------
   Gradient rose (récap prix) → sombre ambre
   ------------------------------------------- */
div[style*="f093fb"],
div[style*="f5576c"] {
    background: linear-gradient(145deg, #1a1714, #3d2e1f) !important;
}

/* -------------------------------------------
   Stats cards gradients → palette cohérente
   ------------------------------------------- */
div[style*="linear-gradient"][style*="667eea"][style*="764ba2"] {
    background: linear-gradient(135deg, #c8842a, #a66b1c) !important;
}

div[style*="linear-gradient"][style*="f093fb"][style*="f5576c"] {
    background: linear-gradient(135deg, #2d6a4f, #1a5c3a) !important;
}

div[style*="linear-gradient"][style*="4facfe"][style*="00f2fe"] {
    background: linear-gradient(135deg, #4a4540, #3d3830) !important;
}

div[style*="linear-gradient"][style*="43e97b"][style*="38f9d7"] {
    background: linear-gradient(135deg, #b85c38, #a04a28) !important;
}

/* -------------------------------------------
   Quick action buttons (dashboard customer)
   ------------------------------------------- */
a[style*="background: #667eea"],
a[style*="background:#667eea"] {
    background: #c8842a !important;
}

a[style*="background: #764ba2"],
a[style*="background:#764ba2"] {
    background: #a66b1c !important;
}

a[style*="background: #f093fb"],
a[style*="background:#f093fb"],
a[style*="background: #e91e63"],
a[style*="background:#e91e63"] {
    background: #b85c38 !important;
}

a[style*="background: #43e97b"],
a[style*="background:#43e97b"],
a[style*="background: #00b894"],
a[style*="background:#00b894"] {
    background: #2d6a4f !important;
}

a[style*="background: #6b7280"],
a[style*="background:#6b7280"] {
    background: #4a4540 !important;
}

/* -------------------------------------------
   Alert boxes (booking/customer)
   ------------------------------------------- */
div[style*="background: #fef3c7"] {
    background: #fdf4e7 !important;
}

div[style*="border"][style*="f59e0b"] {
    border-color: #c8842a !important;
}

/* -------------------------------------------
   Liens internes
   ------------------------------------------- */
a[style*="color: #667eea"],
a[style*="color:#667eea"] {
    color: #a66b1c !important;
}

/* -------------------------------------------
   Form focus states (override pour tous)
   ------------------------------------------- */
.form-control:focus {
    border-color: #c8842a !important;
    box-shadow: 0 0 0 3px rgba(200,132,42,0.12) !important;
}

/* -------------------------------------------
   Status badges communs
   ------------------------------------------- */
span[style*="background: #667eea"],
span[style*="background:#667eea"] {
    background: #c8842a !important;
}

span[style*="background: #10b981"],
span[style*="background:#10b981"] {
    background: #2d6a4f !important;
}

/* -------------------------------------------
   Tables admin
   ------------------------------------------- */
th[style*="667eea"],
th[style*="background: #667eea"] {
    background: #1a1714 !important;
}

/* -------------------------------------------
   Pagination & misc links
   ------------------------------------------- */
a[style*="667eea"]:not([class*="btn"]) {
    color: #a66b1c !important;
}
