/*
|--------------------------------------------------------------------------
| DayToWork Brand Override
|--------------------------------------------------------------------------
| Azul principal: #002D80
| Naranja acción: #FC9729
| Gris apoyo:     #B2B4CC
| Fondo:          #F7F8FB
*/

:root {
    --dtw-primary: #002D80;
    --dtw-secondary: #FC9729;
    --dtw-support: #B2B4CC;
    --dtw-bg: #F7F8FB;
    --dtw-text: #1f2937;
    --dtw-muted: #64748b;
    --dtw-white: #ffffff;
    --dtw-border: rgba(178, 180, 204, 0.45);
    --dtw-shadow: 0 18px 45px rgba(0, 45, 128, 0.12);
}

body.jt-theme-modern,
.jt-theme-modern {
    background: var(--dtw-bg) !important;
    color: var(--dtw-text);
}

/* Header */
.jt-theme-modern .jt-header {
    background: var(--dtw-white) !important;
    border-bottom: 1px solid var(--dtw-border) !important;
    box-shadow: 0 10px 30px rgba(0, 45, 128, 0.08) !important;
}

.jt-theme-modern .jt-logo-img {
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

.jt-theme-modern .jt-nav a,
.jt-theme-modern .jt-header a {
    color: var(--dtw-primary);
}

.jt-theme-modern .jt-nav a:hover,
.jt-theme-modern .jt-header a:hover {
    color: var(--dtw-secondary);
}

/* Hero / banners principales */
.jt-theme-modern .jt-hero,
.jt-theme-modern .jt-page-hero,
.jt-theme-modern .jt-home-hero {
    background:
        radial-gradient(circle at top right, rgba(252, 151, 41, 0.22), transparent 32%),
        linear-gradient(135deg, #002D80 0%, #0642AD 58%, #FC9729 100%) !important;
    color: var(--dtw-white) !important;
}

.jt-theme-modern .jt-hero h1,
.jt-theme-modern .jt-page-hero h1,
.jt-theme-modern .jt-home-hero h1 {
    color: var(--dtw-white) !important;
}

.jt-theme-modern .jt-hero p,
.jt-theme-modern .jt-page-hero p,
.jt-theme-modern .jt-home-hero p {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* Tarjetas / paneles */
.jt-theme-modern .jt-card,
.jt-theme-modern .jt-panel,
.jt-theme-modern .jt-search-box,
.jt-theme-modern .jt-search-panel,
.jt-theme-modern .jt-job-card {
    background: var(--dtw-white) !important;
    border-color: var(--dtw-border) !important;
    box-shadow: var(--dtw-shadow);
}

/* Botones principales */
.jt-theme-modern .jt-btn-primary,
.jt-theme-modern .btn-primary,
.jt-theme-modern a.btn-primary,
.jt-theme-modern button.btn-primary {
    background: linear-gradient(135deg, #FC9729, #ffad4f) !important;
    border-color: #FC9729 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 26px rgba(252, 151, 41, 0.28) !important;
}

.jt-theme-modern .jt-btn-primary:hover,
.jt-theme-modern .btn-primary:hover,
.jt-theme-modern a.btn-primary:hover,
.jt-theme-modern button.btn-primary:hover {
    background: linear-gradient(135deg, #e98212, #FC9729) !important;
    border-color: #e98212 !important;
    color: #ffffff !important;
}

/* Enlaces y acentos */
.jt-theme-modern a {
    color: var(--dtw-primary);
}

.jt-theme-modern a:hover {
    color: var(--dtw-secondary);
}

.jt-theme-modern .jt-accent,
.jt-theme-modern .jt-section-title,
.jt-theme-modern .jt-title {
    color: var(--dtw-primary) !important;
}

/* Badges / etiquetas */
.jt-theme-modern .jt-badge,
.jt-theme-modern .badge {
    background: rgba(0, 45, 128, 0.08);
    color: var(--dtw-primary);
    border-color: rgba(0, 45, 128, 0.14);
}

/* Formularios */
.jt-theme-modern input:focus,
.jt-theme-modern select:focus,
.jt-theme-modern textarea:focus {
    border-color: var(--dtw-primary) !important;
    box-shadow: 0 0 0 3px rgba(0, 45, 128, 0.14) !important;
}

/* Footer */
.jt-theme-modern .jt-footer {
    background: linear-gradient(135deg, #001B4D 0%, #002D80 62%, #0642AD 100%) !important;
    color: rgba(255, 255, 255, 0.92) !important;
}

.jt-theme-modern .jt-footer a {
    color: rgba(255, 255, 255, 0.95) !important;
}

.jt-theme-modern .jt-footer a:hover {
    color: #FC9729 !important;
}
