/* ==========================================================
   Elite Talents Module (مسار وظائف المتميزين) - Styling Sheet
   Company: Elgarhy Group
   Theme: Royal Navy & Champagne Gold Premium Executive Style
   ========================================================== */

:root {
    --elite-gold: #f59e0b;
    --elite-gold-dark: #d97706;
    --elite-gold-light: #fef3c7;
    --elite-navy: #0f172a;
    --elite-navy-light: #1e293b;
    --elite-blue: #1e3c72;
    --elite-accent: #3b82f6;
    --elite-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.15), 0 8px 10px -6px rgba(245, 158, 11, 0.1);
}

/* Nav Button Highlight */
.elite-nav-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35) !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.elite-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5) !important;
    background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%) !important;
}

/* Elite Hero Section */
.elite-hero {
    background: linear-gradient(135deg, #090e17 0%, #111c2e 50%, #1e3c72 100%);
    color: white;
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.elite-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.elite-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.elite-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 30%, #fde68a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.elite-hero p.lead {
    font-size: 1.25rem;
    max-width: 850px;
    margin: 0 auto 2rem;
    line-height: 1.9;
    color: #e2e8f0;
}

/* Criteria Grid */
.elite-criteria-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title-center {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title-center h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.section-title-center p {
    color: #64748b;
    font-size: 1.1rem;
}

.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.criteria-card {
    background: white;
    padding: 2rem 1.75rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: right;
    position: relative;
}

.criteria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #f59e0b;
}

.criteria-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
}

.criteria-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.criteria-card p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Tracks Choice Cards */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.track-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.track-box.featured {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.12);
}

.track-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.09);
}

.track-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.track-box:nth-child(1) .track-icon {
    background: #e0f2fe;
    color: #0284c7;
}

.track-box:nth-child(2) .track-icon {
    background: #fef3c7;
    color: #d97706;
}

.track-box h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.track-box p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1rem;
    flex-grow: 1;
}

/* Elite Application Form Elements */
.elite-form-container {
    max-width: 950px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.elite-form-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3c72 100%);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
}

.elite-form-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.elite-form-header p {
    color: #fde68a;
    font-size: 1.1rem;
    margin: 0;
}

/* Strategic Value Card */
.strategic-card {
    background: linear-gradient(180deg, #fffdf5 0%, #ffffff 100%);
    border: 2px solid #fde68a;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    position: relative;
}

.strategic-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.strategic-card-header i {
    font-size: 1.5rem;
    color: #d97706;
}

.strategic-card-header h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #92400e;
}

.strategic-hint {
    color: #78350f;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Salary Input */
.salary-input-group {
    position: relative;
    max-width: 400px;
}

.salary-input-group input {
    padding-left: 80px !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
}

.salary-currency {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
    font-size: 0.95rem;
}

/* Custom Sections Builder */
.custom-sections-wrapper {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px dashed #e2e8f0;
}

.custom-sections-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.custom-sections-header h4 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.btn-add-section {
    background: #0f172a;
    color: #fde68a;
    border: 1px solid #d97706;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-add-section:hover {
    background: #1e293b;
    color: #ffffff;
    transform: translateY(-1px);
}

.custom-section-card {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 14px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.custom-sec-badge {
    background: #e2e8f0;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.btn-remove-sec {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-remove-sec:hover {
    background: #fca5a5;
    color: #991b1b;
}

/* Voice Pitch Recorder */
.voice-recorder-card {
    background: linear-gradient(135deg, #090e17 0%, #172554 100%);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.voice-recorder-header h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fde68a;
    margin-bottom: 0.5rem;
}

.voice-recorder-header p {
    color: #cbd5e1;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.recorder-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.btn-record {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: 0.3s ease;
}

.btn-record:hover {
    background: #dc2626;
    transform: scale(1.05);
}

.btn-stop-record {
    background: #475569;
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 0.6rem;
    transition: 0.3s;
}

.btn-stop-record:hover {
    background: #334155;
}

.btn-reset-record {
    background: #d97706;
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: none;
    align-items: center;
    gap: 0.6rem;
    transition: 0.3s;
}

.timer-box {
    font-family: monospace;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fde68a;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

#audio-visualizer {
    width: 100%;
    max-width: 450px;
    height: 50px;
    margin: 0 auto 1.5rem;
    display: block;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

#audio-preview {
    width: 100%;
    max-width: 450px;
    margin: 1.5rem auto 0;
    display: none;
    border-radius: 30px;
}

.record-status-recording {
    color: #fca5a5;
    font-weight: 700;
    animation: blink 1.2s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.record-status-success {
    color: #6ee7b7;
    font-weight: 700;
}

/* Multi-file Box */
.multi-file-box {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    background: #f8fafc;
    transition: 0.3s ease;
}

.multi-file-box:hover {
    border-color: #f59e0b;
    background: #fffdf5;
}

.selected-files-list {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.selected-file-item {
    background: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* VIP Spotlight Card in Admin */
.vip-spotlight-card {
    background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
    border: 2px solid #f59e0b;
    border-radius: 20px;
    padding: 2.25rem;
    color: white;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
    position: relative;
    overflow: hidden;
}

.vip-spotlight-card::after {
    content: '⭐ مرشح متميز';
    position: absolute;
    top: 20px;
    left: -40px;
    background: #f59e0b;
    color: #0f172a;
    font-weight: 900;
    font-size: 0.8rem;
    padding: 6px 45px;
    transform: rotate(-45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.vip-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .vip-grid {
        grid-template-columns: 1fr;
    }
}

.vip-value-box {
    background: rgba(255, 255, 255, 0.05);
    border-right: 4px solid #f59e0b;
    padding: 1.5rem;
    border-radius: 12px;
}

.vip-value-box h4 {
    color: #fde68a;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 800;
}

.vip-value-box p {
    color: #f8fafc;
    line-height: 1.8;
    font-size: 1.05rem;
    white-space: pre-line;
}

.vip-salary-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 14px;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vip-salary-box .salary-title {
    color: #fde68a;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vip-salary-box .salary-amount {
    font-size: 2.2rem;
    font-weight: 900;
    color: #ffffff;
}

.vip-salary-box .salary-curr {
    font-size: 1rem;
    color: #fde68a;
}

/* Admin Custom Audio Player */
.admin-audio-player-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1.25rem;
    margin-top: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-audio-player-box h5 {
    color: #fde68a;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-audio-player-box audio {
    width: 100%;
    border-radius: 30px;
}

/* Badge Elite for Admin Table */
.badge-elite {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white !important;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.row-elite {
    background-color: #fffdf5 !important;
}

.row-elite:hover {
    background-color: #fef9c3 !important;
}


/* ============================================================
   Quill Rich Text Editor RTL & Executive Styling
   ============================================================ */
.strategic-editor-container {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.strategic-editor-container:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.strategic-editor-container .ql-toolbar.ql-snow {
    background: #f8fafc;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    direction: ltr; /* Keeps buttons in standard layout */
    text-align: right;
}

.strategic-editor-container .ql-container.ql-snow {
    border: none;
    font-family: 'Cairo', sans-serif;
}

.strategic-editor-container .ql-editor {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    line-height: 1.85;
    min-height: 280px;
    color: #1e293b;
    padding: 1.25rem 1.5rem;
}

.strategic-editor-container .ql-editor.ql-blank::before {
    right: 1.5rem;
    left: auto;
    text-align: right;
    font-family: 'Cairo', sans-serif;
    font-style: normal;
    color: #94a3b8;
}

.strategic-editor-container .ql-editor h1,
.strategic-editor-container .ql-editor h2,
.strategic-editor-container .ql-editor h3,
.strategic-editor-container .ql-editor h4 {
    font-weight: 800;
    color: #0f172a;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.strategic-editor-container .ql-editor ul,
.strategic-editor-container .ql-editor ol {
    padding-right: 1.75rem;
    padding-left: 0;
}

.strategic-editor-container .ql-editor li {
    margin-bottom: 0.35rem;
}

/* ============================================================
   VIP Rich Content Display (Admin Details)
   ============================================================ */
.vip-value-rich-content {
    color: #e2e8f0;
    font-size: 1.05rem;
    line-height: 1.85;
    font-family: 'Cairo', sans-serif;
}

.vip-value-rich-content p {
    margin: 0 0 0.85rem 0;
}

.vip-value-rich-content h1,
.vip-value-rich-content h2,
.vip-value-rich-content h3,
.vip-value-rich-content h4 {
    color: #fde68a;
    font-weight: 800;
    margin: 1.25rem 0 0.5rem 0;
}

.vip-value-rich-content h1 { font-size: 1.45rem; }
.vip-value-rich-content h2 { font-size: 1.3rem; }
.vip-value-rich-content h3 { font-size: 1.15rem; }

.vip-value-rich-content ul,
.vip-value-rich-content ol {
    margin: 0.75rem 0 1rem 0;
    padding-right: 1.75rem;
    padding-left: 0;
}

.vip-value-rich-content li {
    margin-bottom: 0.4rem;
}

.vip-value-rich-content strong,
.vip-value-rich-content b {
    color: #ffffff;
    font-weight: 700;
}

.vip-value-rich-content .ql-size-huge {
    font-size: 1.6rem;
    font-weight: 800;
}

.vip-value-rich-content .ql-size-large {
    font-size: 1.25rem;
    font-weight: 700;
}

.vip-value-rich-content .ql-size-small {
    font-size: 0.88rem;
}

.vip-value-rich-content blockquote {
    border-right: 4px solid #f59e0b;
    padding-right: 1rem;
    margin: 1rem 0;
    color: #fde68a;
    font-style: italic;
}

/* ============================================================
   Elite Talents Marketing Callout Banner in jobs.php
   ============================================================ */
.elite-jobs-callout-banner {
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #0f172a 100%);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 20px;
    padding: 2.5rem;
    color: #ffffff;
    box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.35), 0 0 25px rgba(245, 158, 11, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.elite-jobs-callout-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.elite-callout-body {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex: 1;
}

.elite-callout-icon {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.12) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: #f59e0b;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.elite-callout-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(245, 158, 11, 0.18);
    color: #fde68a;
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 0.65rem;
}

.elite-callout-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.4;
}

.elite-callout-content p {
    margin: 0;
    font-size: 1.02rem;
    color: #cbd5e1;
    line-height: 1.75;
    max-width: 800px;
}

.elite-callout-content strong {
    color: #fde68a;
}

.elite-callout-action {
    flex-shrink: 0;
}

.btn-elite-callout {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #0f172a !important;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1rem 1.85rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.35);
    white-space: nowrap;
}

.btn-elite-callout:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #000000 !important;
}

@media (max-width: 991px) {
    .elite-jobs-callout-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.75rem;
    }
    .elite-callout-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    .btn-elite-callout {
        width: 100%;
        justify-content: center;
    }
}
