/**
 * TEE Jobs Board - Custom Design System & Styling
 * Χρωματική Παλέτα ΤΕΕ & Σύγχρονη Διεπαφή Αγγελιών
 */

:root {
    --tee-primary-navy: #1B315D;                            /* TEE Navy Blue */
    --tee-secondary-blue: #1B315D;                          /* TEE Navy Blue */
    --tee-accent-blue: #FED245;                             /* TEE Yellow */
    --tee-accent-hover: #FED245;                            /* TEE Yellow */
    
    --tee-success: #10b981;         /* Green */
    --tee-success-bg: #ecfdf5;
    --tee-success-border: #a7f3d0;
    
    --tee-warning: #f59e0b;         /* Amber */
    --tee-warning-bg: #fffbeb;
    --tee-warning-border: #fde68a;
    
    --tee-error: #ef4444;           /* Red */
    --tee-error-bg: #fef2f2;
    --tee-error-border: #fca5a5;
    
    --tee-bg-light: #f8fafc;        /* Slate 50 */
    --tee-bg-white: #ffffff;
    
    --tee-border: #e2e8f0;          /* Slate 200 */
    --tee-border-focus: #93c5fd;    /* Blue 300 */
    
    --tee-text-main: #2d3748;       /* TEE Body text */
    --tee-text-dark: #1A202C;       /* TEE Title text */
    --tee-text-muted: #64748b;      /* Slate 500 */
    
    --tee-radius-sm: 6px;
    --tee-radius-md: 12px;
    --tee-radius-lg: 18px;
    
    --tee-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --tee-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --tee-shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
    --tee-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   1. Στοιχεία Αγγελίας (Single Post Layout Utilities)
   ========================================================================== */

.tee-job-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--tee-border);
}

.tee-job-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.tee-job-category-badge {
    display: inline-block;
    background-color: rgba(30, 58, 138, 0.08);
    color: var(--tee-secondary-blue);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--tee-radius-sm);
    text-transform: none;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.tee-job-meta-card {
    background-color: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 1.5rem;
    box-shadow: var(--tee-shadow-md);
    position: sticky;
    top: 2rem;
}

.tee-job-meta-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--tee-accent-blue);
    padding-bottom: 0.5rem;
}

.tee-job-meta-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--tee-text-main);
}

.tee-job-meta-item:last-child {
    margin-bottom: 0;
}

.tee-job-meta-label {
    font-weight: 600;
    color: var(--tee-text-dark);
    width: 130px;
    flex-shrink: 0;
}

.tee-job-meta-value {
    color: var(--tee-text-main);
}

/* ==========================================================================
   2. Φόρμα Υποβολής Ενδιαφέροντος (Fluent Forms Custom Styling)
   ========================================================================== */

.tee-job-form-card {
    background: var(--tee-bg-light);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: var(--tee-shadow-sm);
    transition: var(--tee-transition);
}

.tee-job-form-card:hover {
    box-shadow: var(--tee-shadow-md);
    border-color: var(--tee-border-focus);
}

.tee-job-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 0.5rem;
}

.tee-job-form-subtitle {
    font-size: 0.95rem;
    color: var(--tee-text-muted);
    margin-bottom: 1.5rem;
}

.tee-job-form-card .fluentform_wrapper .ff-el-form-control {
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--tee-text-dark);
    background-color: var(--tee-bg-white);
    transition: var(--tee-transition);
}

.tee-job-form-card .fluentform_wrapper .ff-el-form-control:focus {
    border-color: var(--tee-accent-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    outline: none;
}

.tee-job-form-card .fluentform_wrapper label {
    font-weight: 600;
    color: var(--tee-text-dark);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.tee-job-form-card .fluentform_wrapper .ff-btn-submit {
    background-color: var(--tee-secondary-blue) !important;
    color: var(--tee-bg-white) !important;
    border: none !important;
    padding: 0.85rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: var(--tee-radius-sm) !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: var(--tee-transition) !important;
}

.tee-job-form-card .fluentform_wrapper .ff-btn-submit:hover {
    background-color: var(--tee-accent-blue) !important;
    transform: translateY(-1px);
}

/* ==========================================================================
   3. PREMIUM FORMS (SUBMISSIONS & GENERAL)
   ========================================================================== */

.tee-premium-form, .tee-premium-mini-form {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2.25rem;
    box-shadow: var(--tee-shadow-md);
    margin-bottom: 2rem;
}

.tee-form-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 1.75rem;
    border-bottom: 2px solid var(--tee-secondary-blue);
    padding-bottom: 0.75rem;
}

.tee-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tee-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tee-grid-full {
        grid-column: span 2;
    }
}

.tee-form-group {
    display: flex;
    flex-direction: column;
}

.tee-form-group label {
    font-weight: 600;
    color: var(--tee-text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.tee-form-group input[type="text"],
.tee-form-group input[type="email"],
.tee-form-group input[type="url"],
.tee-form-group input[type="password"],
.tee-form-group select,
.tee-form-group textarea {
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: var(--tee-text-dark);
    background-color: var(--tee-bg-light);
    transition: var(--tee-transition);
}

.tee-form-group input:focus,
.tee-form-group select:focus,
.tee-form-group textarea:focus {
    border-color: var(--tee-accent-blue);
    background-color: var(--tee-bg-white);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
    outline: none;
}

.tee-required {
    color: var(--tee-error);
}

.tee-checkbox-group-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.tee-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--tee-text-main);
    cursor: pointer;
    font-weight: 500 !important;
}

.tee-checkbox-label input[type="checkbox"] {
    width: 17px;
    height: 17px;
    cursor: pointer;
}

.tee-form-help-text {
    font-size: 0.8rem;
    color: var(--tee-text-muted);
    margin-top: 0.35rem;
}

.tee-form-alert {
    padding: 1rem 1.25rem;
    border-radius: var(--tee-radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.tee-form-alert-success {
    background-color: var(--tee-success-bg);
    border: 1px solid var(--tee-success-border);
    color: #065f46;
}

.tee-form-alert-error {
    background-color: var(--tee-error-bg);
    border: 1px solid var(--tee-error-border);
    color: #991b1b;
}

.tee-form-alert-info {
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.tee-btn-submit,
.tee-btn-submit-register {
    background-color: var(--tee-secondary-blue) !important;
    color: var(--tee-bg-white) !important;
    border: 1px solid var(--tee-secondary-blue) !important;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    transition: var(--tee-transition);
    box-shadow: var(--tee-shadow-sm);
    text-align: center;
    width: 100%;
}

.tee-btn-submit:hover,
.tee-btn-submit-register:hover {
    background-color: #FED245 !important;
    color: var(--tee-secondary-blue) !important;
    border-color: #FED245 !important;
    transform: translateY(-2px);
    box-shadow: var(--tee-shadow-md);
}

/* ==========================================================================
   4. USER DASHBOARD ("Ο ΛΟΓΑΡΙΑΣΜΟΣ ΜΟΥ")
   ========================================================================== */

.tee-dashboard-wrapper {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2rem;
    box-shadow: var(--tee-shadow-md);
}

.tee-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--tee-border);
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.tee-user-welcome {
    font-size: 1.1rem;
    color: var(--tee-text-dark);
}

.tee-btn-logout {
    color: var(--tee-error);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.35rem 0.75rem;
    border: 1px solid var(--tee-error-border);
    border-radius: var(--tee-radius-sm);
    transition: var(--tee-transition);
}

.tee-btn-logout:hover {
    background-color: var(--tee-error-bg);
}

.tee-dashboard-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tee-btn-action-primary, .tee-btn-action-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--tee-radius-sm);
    transition: var(--tee-transition);
    box-shadow: var(--tee-shadow-sm);
}

.tee-btn-action-primary {
    background-color: var(--tee-secondary-blue) !important;
    color: var(--tee-bg-white) !important;
    border: 1px solid var(--tee-secondary-blue) !important;
}

.tee-btn-action-primary:hover {
    background-color: #FED245 !important;
    color: var(--tee-secondary-blue) !important;
    border-color: #FED245 !important;
}

.tee-btn-action-secondary {
    background-color: var(--tee-bg-light) !important;
    color: var(--tee-text-dark) !important;
    border: 1px solid var(--tee-border) !important;
}

.tee-btn-action-secondary:hover {
    background-color: #FED245 !important;
    color: var(--tee-secondary-blue) !important;
    border-color: #FED245 !important;
}

.tee-btn-back {
    display: inline-block;
    color: var(--tee-text-muted);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: var(--tee-transition);
}

.tee-btn-back:hover {
    color: var(--tee-text-dark);
}

/* Πίνακας Dashboard */
.tee-dashboard-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.tee-dashboard-table th, .tee-dashboard-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--tee-border);
}

.tee-dashboard-table th {
    font-weight: 700;
    color: var(--tee-text-dark);
    background-color: var(--tee-bg-light);
}

.tee-dashboard-table tbody tr {
    transition: var(--tee-transition);
}

.tee-dashboard-table tbody tr:hover {
    background-color: rgba(248, 250, 252, 0.5);
}

.tee-view-live-link {
    font-size: 0.8rem;
    color: var(--tee-accent-blue);
    text-decoration: none;
    font-weight: 600;
}

.tee-view-live-link:hover {
    color: var(--tee-accent-hover);
}

/* Badges Κατάστασης */
.tee-status-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    text-align: center;
}

.tee-status-publish {
    background-color: var(--tee-success-bg);
    color: #047857;
    border: 1px solid var(--tee-success-border);
}

.tee-status-pending {
    background-color: var(--tee-warning-bg);
    color: #b45309;
    border: 1px solid var(--tee-warning-border);
}

.tee-status-draft {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1;
}

/* Κουμπιά Ενεργειών Dashboard */
.tee-action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tee-action-buttons a, .tee-action-buttons button {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    font-size: 0.825rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--tee-transition);
}

.tee-btn-edit {
    background-color: #eff6ff;
    color: #1d4ed8;
    border-color: #bfdbfe !important;
}

.tee-btn-edit:hover {
    background-color: #dbeafe;
}

.tee-btn-pause {
    background-color: #fef3c7;
    color: #d97706;
    border-color: #fde68a !important;
}

.tee-btn-pause:hover {
    background-color: #fef3c7;
    opacity: 0.9;
}

.tee-btn-activate {
    background-color: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0 !important;
}

.tee-btn-activate:hover {
    background-color: #d1fae5;
}

.tee-btn-delete {
    background-color: #fef2f2;
    color: #dc2626;
    border-color: #fca5a5 !important;
}

.tee-btn-delete:hover {
    background-color: #fee2e2;
}

.tee-dashboard-empty {
    padding: 3rem;
    text-align: center;
    background-color: var(--tee-bg-light);
    border: 2px dashed var(--tee-border);
    border-radius: var(--tee-radius-md);
    color: var(--tee-text-muted);
    font-weight: 600;
}

/* ==========================================================================
   5. LOGIN & REGISTER SPLIT LAYOUT
   ========================================================================== */

.tee-login-register-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .tee-login-register-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.tee-login-section, .tee-register-section {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2.25rem;
    box-shadow: var(--tee-shadow-md);
}

.tee-box-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--tee-accent-blue);
    padding-bottom: 0.5rem;
}

.tee-box-desc {
    font-size: 0.9rem;
    color: var(--tee-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.tee-form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tee-premium-mini-form .tee-form-group {
    margin-bottom: 1rem;
}

.tee-btn-submit-register {
    background-color: var(--tee-accent-blue);
    color: var(--tee-bg-white);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    width: 100%;
    transition: var(--tee-transition);
}

.tee-btn-submit-register:hover {
    background-color: var(--tee-accent-hover);
}

/* ==========================================================================
   6. REPORT JOB POPUP MODAL (AJAX)
   ========================================================================== */

.tee-btn-report {
    background-color: var(--tee-bg-light);
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    transition: var(--tee-transition);
}

.tee-btn-report:hover {
    background-color: var(--tee-error-bg);
    color: var(--tee-error);
    border-color: var(--tee-error-border);
}

.tee-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.tee-modal-content {
    background-color: var(--tee-bg-white);
    border-radius: var(--tee-radius-md);
    width: 100%;
    max-width: 500px;
    padding: 2.25rem;
    box-shadow: var(--tee-shadow-lg);
    position: relative;
    animation: teeFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.tee-close-modal {
    position: absolute !important;
    top: 1rem !important;
    right: 1.25rem !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.75rem !important;
    line-height: 1 !important;
    color: #64748b !important;
    cursor: pointer !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    transition: var(--tee-transition) !important;
    width: auto !important;
    height: auto !important;
}

.tee-close-modal:hover {
    color: #0f172a !important;
    background-color: #f1f5f9 !important;
}

.tee-modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.tee-modal-desc {
    font-size: 0.9rem;
    color: var(--tee-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.tee-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.tee-btn-cancel {
    background-color: var(--tee-bg-light);
    color: var(--tee-text-dark);
    border: 1px solid var(--tee-border);
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    transition: var(--tee-transition);
}

.tee-btn-cancel:hover {
    background-color: #cbd5e1;
}

.tee-btn-submit-report {
    background-color: var(--tee-error);
    color: var(--tee-bg-white);
    border: none;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: var(--tee-radius-sm);
    cursor: pointer;
    transition: var(--tee-transition);
}

.tee-btn-submit-report:hover {
    background-color: #b91c1c;
}

body.tee-modal-open {
    overflow: hidden;
}

/* ==========================================================================
   7. RESPONSIVE DASHBOARD TABLE (FOR MOBILE DEVICES)
   ========================================================================== */

@media (max-width: 991px) {
    .tee-dashboard-table, .tee-dashboard-table thead, .tee-dashboard-table tbody, .tee-dashboard-table th, .tee-dashboard-table td, .tee-dashboard-table tr {
        display: block;
    }
    
    .tee-dashboard-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .tee-dashboard-table tr {
        border: 1px solid var(--tee-border);
        border-radius: var(--tee-radius-md);
        margin-bottom: 1.25rem;
        background: var(--tee-bg-white);
        box-shadow: var(--tee-shadow-sm);
        padding: 0.5rem;
    }
    
    .tee-dashboard-table td {
        border: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.5);
        position: relative;
        padding-left: 50% !important;
        text-align: right;
    }
    
    .tee-dashboard-table td:last-child {
        border-bottom: 0;
    }
    
    .tee-dashboard-table td::before {
        position: absolute;
        top: 50%;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--tee-text-dark);
        transform: translateY(-50%);
        content: attr(data-label);
    }

    .tee-action-buttons {
        justify-content: flex-end;
    }
}

/* ==========================================================================
   8. TYPOGRAPHY INHERITANCE & USER TYPE SELECTOR
   ========================================================================== */

.tee-premium-form input,
.tee-premium-form select,
.tee-premium-form textarea,
.tee-premium-form button,
.tee-premium-mini-form input,
.tee-premium-mini-form select,
.tee-premium-mini-form textarea,
.tee-premium-mini-form button,
.tee-dashboard-wrapper button,
.tee-dashboard-wrapper table,
.tee-modal-content input,
.tee-modal-content textarea,
.tee-modal-content button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.tee-user-type-selector {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    background: var(--tee-bg-light);
    padding: 0.75rem 1rem;
    border-radius: var(--tee-radius-sm);
    border: 1px solid var(--tee-border);
}

.tee-user-type-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--tee-text-main);
}

.tee-user-type-option input[type="radio"] {
    margin: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ==========================================================================
   9. AUTH TABS, DASHBOARD NAVIGATION & SINGLE TEMPLATE GRID STYLES
   ========================================================================== */

/* Auth Tab Container & Switching */
.tee-auth-tabs-container {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2.25rem;
    box-shadow: var(--tee-shadow-md);
    margin-bottom: 2rem;
}

.tee-auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--tee-border);
    margin-bottom: 1.75rem;
    gap: 1rem;
}

.tee-auth-tab-btn {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--tee-text-muted);
    cursor: pointer;
    transition: var(--tee-transition);
}

.tee-auth-tab-btn:hover {
    color: var(--tee-secondary-blue);
}

.tee-auth-tab-btn.active {
    color: var(--tee-secondary-blue);
    border-bottom-color: var(--tee-secondary-blue);
}

.tee-auth-tab-content {
    display: none;
    animation: teeFadeIn 0.3s ease;
}

.tee-auth-tab-content.active {
    display: block;
}

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

/* Dashboard Tabs Navigation */
.tee-dashboard-tabs-nav {
    display: flex;
    gap: 1rem;
    border-bottom: 2px solid var(--tee-border);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.tee-dashboard-tab-link {
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--tee-radius-sm);
    background: transparent;
    color: var(--tee-text-dark);
    transition: var(--tee-transition);
}

.tee-dashboard-tab-link:hover {
    color: var(--tee-secondary-blue);
}

.tee-dashboard-tab-link.active {
    background: var(--tee-secondary-blue) !important;
    color: #fff !important;
}

/* Single Template Styling */
.tee-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.tee-single-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--tee-border);
    padding-bottom: 1.5rem;
}

.tee-single-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.tee-single-meta {
    font-size: 0.95rem;
    color: var(--tee-text-muted);
}

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

@media (min-width: 992px) {
    .tee-single-grid {
        grid-template-columns: 2fr 1fr;
    }
}

.tee-single-main {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 2rem;
    box-shadow: var(--tee-shadow-sm);
}

.tee-section-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-top: 0;
    margin-bottom: 1rem;
}

.tee-single-content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--tee-text-main);
}

.tee-divider {
    border: 0;
    border-top: 1px solid var(--tee-border);
    margin: 2rem 0;
}

.tee-company-card {
    background: var(--tee-bg-light);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-sm);
    padding: 1.25rem;
}

.tee-company-card p {
    margin: 0 0 0.5rem 0;
}

.tee-company-card p:last-child {
    margin-bottom: 0;
}

.tee-single-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tee-sidebar-card {
    background: var(--tee-bg-white);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 1.5rem;
    box-shadow: var(--tee-shadow-sm);
}

.tee-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tee-text-dark);
    margin-top: 0;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--tee-accent-blue);
    padding-bottom: 0.5rem;
}

.tee-sidebar-meta-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    padding-bottom: 0.75rem;
}

.tee-sidebar-meta-item:last-child {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.tee-meta-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tee-text-dark);
}

.tee-meta-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tee-text-main);
    margin-top: 0.15rem;
}

/* ==========================================================================
   10. ADDITIONS: DETAILS GRID, MODAL BUTTONS, AND OUTLINE REPORT BUTTON
   ========================================================================== */

.tee-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.tee-detail-box {
    background: var(--tee-bg-light);
    border: 1px solid var(--tee-border);
    border-radius: var(--tee-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tee-detail-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tee-text-dark);
}

.tee-detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tee-text-main);
}

/* Modal Actions (Side by Side Cancel and Submit) */
.tee-modal-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.tee-modal-actions button,
.tee-modal-actions input[type="submit"],
.tee-modal-actions .tee-btn-cancel,
.tee-modal-actions .tee-btn-submit-report {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 1 1 50% !important;
    max-width: 200px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0.75rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border-radius: var(--tee-radius-sm) !important;
    cursor: pointer !important;
    transition: var(--tee-transition) !important;
    box-sizing: border-box !important;
}

.tee-btn-cancel {
    background-color: var(--tee-bg-light) !important;
    color: var(--tee-text-dark) !important;
    border: 1px solid var(--tee-border) !important;
}

.tee-btn-cancel:hover {
    background-color: var(--tee-border) !important;
    color: var(--tee-text-dark) !important;
}

.tee-btn-submit-report {
    background-color: var(--tee-secondary-blue) !important;
    color: #fff !important;
    border: 1px solid var(--tee-secondary-blue) !important;
}

.tee-btn-submit-report:hover {
    background-color: #FED245 !important;
    color: var(--tee-secondary-blue) !important;
    border-color: #FED245 !important;
}

/* Outline Report Button in Sidebar */
.tee-btn-report {
    display: inline-block;
    width: 100%;
    background: transparent !important;
    color: var(--tee-text-muted) !important;
    border: 1px solid var(--tee-border) !important;
    padding: 0.75rem 1.5rem !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    border-radius: var(--tee-radius-sm) !important;
    transition: var(--tee-transition) !important;
    cursor: pointer;
    text-align: center;
}

.tee-btn-report:hover {
    border-color: var(--tee-secondary-blue) !important;
    color: var(--tee-secondary-blue) !important;
    background-color: rgba(30, 58, 138, 0.03) !important;
}

/* ==========================================================================
   11. CHECKBOX BUTTON TAGS & CV DROPZONE & DASHBOARD BUTTONS ADJUSTMENTS
   ========================================================================== */

/* Checkbox Tags */
.tee-checkbox-group-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 0.5rem;
}

.tee-checkbox-group-grid .tee-checkbox-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 0.4rem 0.9rem !important;
    border-radius: 50px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.tee-checkbox-group-grid .tee-checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
}

/* Hover & Checked State using :has() */
.tee-checkbox-group-grid .tee-checkbox-label:hover {
    background: #FED245 !important;
    color: #1B315D !important;
    border-color: #FED245 !important;
}

.tee-checkbox-group-grid .tee-checkbox-label:has(input:checked) {
    background: #1B315D !important;
    color: #ffffff !important;
    border-color: #1B315D !important;
}

/* Modern CV File Dropzone Upload */
.tee-file-dropzone {
    border: 2px dashed #cbd5e1;
    background-color: #f8fafc;
    border-radius: var(--tee-radius-md);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--tee-transition);
    position: relative;
}

.tee-file-dropzone:hover,
.tee-file-dropzone.dragover {
    border-color: var(--tee-accent-blue);
    background-color: rgba(2, 132, 199, 0.02);
}

.tee-dropzone-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.tee-dropzone-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tee-text-dark);
    display: block;
}

.tee-dropzone-subtext {
    font-size: 0.8rem;
    color: var(--tee-text-muted);
    margin-top: 0.25rem;
    display: block;
}

.tee-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Dashboard Action Buttons 13px */
.tee-action-buttons a, 
.tee-action-buttons button {
    font-size: 13px !important;
    padding: 0.4rem 0.75rem !important;
    font-weight: 600 !important;
    border-radius: var(--tee-radius-sm) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    box-sizing: border-box !important;
}

.tee-btn-view {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #cbd5e1 !important;
}

/* ==========================================================================
   12. SINGLE PAGE UX ENHANCEMENTS (BREADCRUMBS, SHARE BAR, RELATED, PRINT)
   ========================================================================== */

/* Breadcrumbs Navigation */
.tee-single-breadcrumbs {
    font-size: 0.85rem;
    color: var(--tee-text-muted);
    margin-bottom: 1.25rem;
}
.tee-single-breadcrumbs a {
    color: var(--tee-primary-blue);
    text-decoration: none;
    font-weight: 500;
}
.tee-single-breadcrumbs a:hover {
    text-decoration: underline;
}
.tee-breadcrumb-cat {
    color: var(--tee-text-dark);
    font-weight: 600;
}

/* Header Top Badges & Actions Bar */
.tee-single-header-top {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: wrap !important;
    margin-bottom: 0.75rem !important;
}

.tee-single-header-top .tee-job-category-badge {
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    height: 28px !important;
    box-sizing: border-box !important;
}

.tee-time-badge {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: var(--tee-text-muted) !important;
    background: #f1f5f9 !important;
    padding: 0 0.75rem !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
    height: 28px !important;
    box-sizing: border-box !important;
}

.tee-single-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--tee-border);
}

.tee-action-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: var(--tee-radius-sm) !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: var(--tee-transition) !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #ffffff !important;
    color: #334155 !important;
}

.tee-action-btn:hover {
    background-color: #f8fafc !important;
    border-color: var(--tee-primary-blue) !important;
    color: var(--tee-primary-blue) !important;
}

.tee-btn-share-li:hover {
    border-color: #0a66c2 !important;
    color: #0a66c2 !important;
}
.tee-btn-share-fb:hover {
    border-color: #1877f2 !important;
    color: #1877f2 !important;
}
.tee-btn-share-wa:hover {
    border-color: #25d366 !important;
    color: #25d366 !important;
}

/* Print Stylesheet */
@media print {
    header, footer, nav, sidebar, .tee-single-actions-bar, .tee-report-action-container, #tee-job-apply-form, .tee-modal-overlay, .tee-single-breadcrumbs {
        display: none !important;
    }
    .tee-print-header {
        display: block !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }
    .tee-print-header img {
        width: 150px !important;
        max-width: 150px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    body, .tee-single-container {
        background: #ffffff !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-shadow: none !important;
    }
    .tee-single-grid {
        display: block !important;
    }
}

.tee-btn-view:hover {
    background-color: #e2e8f0;
    color: var(--tee-text-dark);
}
