:root {
    --teal: #00555a;
    --mimosa: #ffc94b;
    --bg-light: #f4f7f6;
}
body {
    background-color: var(--bg-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.text-teal { color: var(--teal) !important; }
.bg-teal { background-color: var(--teal) !important; color: white; }
.text-mimosa { color: var(--mimosa) !important; }

/* Action Buttons */
.btn-mimosa {
    background-color: var(--mimosa);
    color: #000;
    font-weight: 600;
    border: none;
    transition: background-color 0.2s ease;
}
.btn-mimosa:hover {
    background-color: #e5b443;
}

/* Tourism Cards */
.tourism-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 295px; /* Aligns all cards globally */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Prevent visual overlapping outside card bounds */
}

/* Allow scrollable table content inside newsletter card to render properly */
.card.tourism-card .table-responsive {
    overflow-y: auto !important;
    flex-shrink: 1;
    min-height: 0;
}
.tourism-card:hover {
    /* Kept the soft shadow overlay accentuation but completely halted spatial movement */
    transform: none !important;
    box-shadow: 0 12px 20px rgba(0,85,90,0.1);
}
.news-img-top {
    display: block; /* Prevent baseline/inline-image rendering quirks */
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}
.action-icons button {
    background: none;
    border: none;
    color: var(--teal);
    font-size: 1.2rem;
    transition: color 0.2s;
}
.action-icons button:hover { color: var(--mimosa); }

/* Breadcrumbs */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-item a {
    color: var(--teal);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #6c757d;
}

/* Form Controls */
.form-select-sm, .form-control-sm {
    font-size: 0.875rem;
}

/* Unified Global Header for ALL Pages (Including Homepage) */
.hero-section, .page-header {
    background-color: var(--teal);
    /* LCP hero background (mobile-optimized by default) */
    background-image:
        linear-gradient(rgba(0, 85, 90, 0.9), rgba(0, 85, 90, 0.9)),
            url('https://images.unsplash.com/photo-1572252009286-268acec5ca0a?auto=format&fit=crop&w=800&q=75');
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    color: white;
}

/* Larger screens: use a higher-res hero background */
@media (min-width: 992px) {
    .hero-section, .page-header {
        background-image:
            linear-gradient(rgba(0, 85, 90, 0.9), rgba(0, 85, 90, 0.9)),
            url('https://images.unsplash.com/photo-1572252009286-268acec5ca0a?q=80&w=2070&auto=format&fit=crop');
    }
}

.hero-search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Navbar - Fixed to Top */
.navbar-custom {
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    z-index: 1050 !important;
    background-color: var(--teal);
    padding: 15px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.navbar-custom .nav-link {
    color: #f4f7f6;
    font-weight: 500;
    transition: color 0.3s;
}
.navbar-custom .nav-link:hover {
    color: var(--mimosa);
}
.footer-custom {
    background-color: var(--teal);
    color: #fff;
    padding: 40px 0 20px;
}

/* Utility */
.btn-outline-teal {
    border: 2px solid var(--teal);
}
.btn-outline-teal:hover {
    background-color: var(--teal);
    color: white;
}

/* Jobs listing table layout */
.jobs-page-header {
    background-color: var(--teal);
    color: #fff;
    padding: 0.9rem 0 1rem;
    margin-bottom: 1.5rem;
}
.jobs-page-header .container {
    max-width: 1200px;
}
.jobs-page-header .jobs-page-title {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 700;
}
.jobs-page-header .btn-mimosa {
    border-radius: 50rem;
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    white-space: nowrap;
}
.jobs-search-wrap {
    margin: 0 auto 2rem;
    max-width: 680px;
}
.jobs-search-form {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.jobs-search-input {
    flex: 1 1 420px;
    min-width: 0;
    border: 0;
    border-radius: 50rem;
    background: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}
.jobs-search-btn,
.jobs-search-reset {
    border-radius: 50rem;
    padding: 0.75rem 1.4rem;
    font-weight: 700;
    white-space: nowrap;
}
.jobs-search-btn {
    background-color: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.jobs-search-btn:hover {
    background-color: var(--mimosa);
    border-color: var(--mimosa);
    color: #000;
}
.jobs-table-card {
    background: #fff;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}
.jobs-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: transparent;
}
.jobs-table thead {
    background-color: var(--teal);
    color: #fff;
}
.jobs-table th,
.jobs-table td {
    padding: 0.9rem 1rem;
    vertical-align: middle;
}
.jobs-table th {
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-weight: 700;
}
.jobs-table tbody tr {
    border-bottom: 1px solid #eee8dd;
}
.jobs-table tbody tr:last-child {
    border-bottom: 0;
}
.jobs-table tbody tr:hover {
    background-color: rgba(0,85,90,0.02);
}
.jobs-brand-cell {
    width: 90px;
}
.jobs-brand-badge {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f1ea;
    border: 1px solid #e0dbce;
    border-radius: 6px;
    overflow: hidden;
    color: #736b5e;
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
}
.jobs-brand-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.jobs-title-link {
    font-size: 1rem;
    font-weight: 700;
    color: var(--teal);
    text-decoration: none;
}
.jobs-title-link:hover {
    text-decoration: underline;
}
.jobs-badges {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-top: 0.45rem;
}
.jobs-table .badge {
    font-size: 0.62rem;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
}
.jobs-employer {
    color: #4a4640;
    font-weight: 500;
    font-size: 0.95rem;
}
.jobs-location,
.jobs-date {
    color: #5b564c;
    font-size: 0.9rem;
}
.jobs-save-col {
    width: 80px;
    text-align: center;
}
@media (max-width: 767.98px) {
    .jobs-page-header {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .jobs-page-header .d-flex {
        flex-direction: column;
        align-items: center;
    }
    .jobs-search-form {
        gap: 0.5rem;
    }
    .jobs-search-input,
    .jobs-search-btn,
    .jobs-search-reset {
        width: 100%;
        flex-basis: 100%;
    }
    .jobs-table-wrapper {
        overflow-x: auto;
    }
    .jobs-table {
        min-width: 740px;
    }
}

/* Fix: Read More button hover contrast - ensure text is visible on teal background */
.btn-outline-teal.text-teal:hover,
.btn-outline-teal.text-teal:focus,
.btn-outline-teal.text-teal:active {
    color: #ffffff !important;
}

/* 1. Navbar & Sidebar Fix */
.navbar-custom {
    z-index: 1050 !important;
}
.sticky-top, .sticky-sidebar {
    top: 100px;
    z-index: 1020;
}

/* 2. Enhanced Action Icons (Star for Save & Share) - NO TRANSITIONS, NO GLOW */
.action-icon-btn {
    background-color: transparent;
    border: none;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #6c757d;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}
.action-icon-btn.save-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    padding: 0;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}
.action-icon-btn.share-btn:hover {
    color: var(--teal);
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Unified Icon Button Class - No Movement, No Glow */
.icon-btn {
    width: 32px;
    height: 32px;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    border: none;
    background-color: transparent;
    color: #6c757d;
    /* Completely remove all transform, transition, and box-shadow effects */
    transition: none !important;
    transform: none !important;
    filter: none !important;
    box-shadow: none !important;
}

/* Favorite Star - Modular Component (.star-icon) - With Hover Effect */
.star-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    /* SVG star - Hollow/Outlined by default */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cccccc' stroke-width='2'%3E%3Cpolygon points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28px 28px;
    /* Smooth transition for hover effect */
    transition: all 0.2s ease;
}
/* Hover State: Scale up and color change */
.star-icon:hover {
    transform: scale(1.15);
    filter: brightness(1.1);
}
/* Active State: Solid filled gold star */
.star-icon.active {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD700'%3E%3Cpolygon points='12,2 15.09,8.26 22,9.27 17,14.14 18.18,21.02 12,17.77 5.82,21.02 7,14.14 2,9.27 8.91,8.26'/%3E%3C/svg%3E");
}

/* Share Button (.share-btn) - Consistent dark gray, no movement, no glow */
.share-btn {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236c757d'%3E%3Cpath d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
    transition: none !important;
    transform: none !important;
    filter: none !important;
}
/* Hover state: darker teal color */
.share-btn:hover {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300555a'%3E%3Cpath d='M18 16.08c-.76 0-1.44.3-1.96.77L8.91 12.7c.05-.23.09-.46.09-.7s-.04-.47-.09-.7l7.05-4.11c.54.5 1.25.81 2.04.81 1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3c0 .24.04.47.09.7L8.04 9.81C7.5 9.31 6.79 9 6 9c-1.66 0-3 1.34-3 3s1.34 3 3 3c.79 0 1.5-.31 2.04-.81l7.12 4.16c-.05.21-.08.43-.08.65 0 1.61 1.31 2.92 2.92 2.92s2.92-1.31 2.92-2.92-1.31-2.92-2.92-2.92z'/%3E%3C/svg%3E");
    transition: none !important;
    transform: none !important;
    filter: none !important;
}

/* Arabic Language Support */
[lang="ar"] body,
body[dir="rtl"] {
    font-family: 'Cairo', sans-serif;
}
[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}
[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}
[dir="rtl"] .text-start {
    text-align: right !important;
}
[dir="rtl"] .text-end {
    text-align: left !important;
}

/* RTL fixes for Arabic layout "damaged" phase */
[dir="rtl"] .email-card {
    border-left: none !important;
    border-right: 4px solid var(--mimosa) !important;
}
[dir="rtl"] .promo-card {
    border-left: none !important;
    border-right: 4px solid var(--teal) !important;
}

[dir="rtl"] .news-card {
    text-align: right !important;
}

/* Newsletter section input/button rounded corners swap */
[dir="rtl"] .newsletter-section {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .newsletter-section .form-control {
    border-radius: 0 50px 50px 0 !important;
}
[dir="rtl"] .newsletter-section .btn-subscribe {
    border-radius: 50px 0 0 50px !important;
}

/* Prevent left-margin artifacts when RTL */
[dir="rtl"] .newsletter-section .form-control,
[dir="rtl"] .newsletter-section .btn-subscribe {
    margin-left: 0 !important;
}

/* Newsletter Section Styles */
.newsletter-section {
    background-color: var(--teal);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.newsletter-section .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 10px 20px;
}
.newsletter-section .btn-subscribe {
    background-color: var(--mimosa);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 10px 25px;
}
.newsletter-section .btn-subscribe:hover {
    background-color: #e5b443;
}
.newsletter-section .nl-message {
    margin-top: 15px;
    font-weight: bold;
    font-size: 0.875rem;
}
.newsletter-section .text-success-msg {
    color: var(--mimosa);
}
.newsletter-section .text-error-msg {
    color: #ffc107;
}

/* Profile Avatar */
.profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 2rem;
}

/* Sidebar Navigation */
.sidebar-nav .nav-link {
    color: var(--teal);
    font-weight: 600;
    margin-bottom: 8px;
}
.sidebar-nav .nav-link.active {
    background-color: var(--teal);
    color: white;
}

/* Profile Sidebar */
.profile-sidebar {
    top: 90px;
}

/* Display Utilities */
.display-1.text-teal {
    font-size: 5rem;
    color: var(--teal);
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* SortableJS CV Sections */
.sortable-item {
    cursor: move;
    padding: 10px;
    border-radius: 8px;
    transition: none !important;
}
.sortable-item:hover {
    background-color: #f8f9fa;
}
.sortable-ghost {
    opacity: 0.4;
    background-color: #e9ecef;
}

/* Inactive Job Posts - Show with opacity */
.job-inactive {
    opacity: 0.6;
}

/* Layout Utilities */
.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }

/* News View Layout */
.news-hero-img { max-height: 400px; object-fit: cover; width: 100%; }
.news-content { line-height: 1.9; font-size: 1.1rem; color: #6c757d; }

/* Action Buttons Container - Prevents overlapping */
.action-buttons-container {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Email Template Overrides */
.email-container { font-family: Arial, sans-serif; max-width: 600px; margin: auto; }
.email-header { color: var(--teal); margin-bottom: 5px; }
.email-card { background: var(--bg-light); padding: 15px; margin-bottom: 15px; border-left: 4px solid var(--mimosa); }
.email-footer { font-size: 0.9em; color: #777; }
.promo-card { background: var(--bg-light); padding: 20px; border-left: 4px solid var(--teal); margin-top: 20px; }
.news-card { background: #fff; border: 1px solid #ddd; padding: 20px; margin-top: 20px; }
.btn-cta { display: inline-block; background: var(--mimosa); color: #000; padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 5px; }

/* ============================================
   Responsive Profile Adjustments
   ============================================ */
@media (max-width: 768px) {
    /* Profile Header */
    .profile-header { 
        padding: 10px; 
    }
    
    /* Profile Avatar */
    .profile-avatar { 
        width: 60px; 
        height: 60px; 
        font-size: 1.5rem;
    }
    
    /* User Info */
    .user-info h4 { 
        font-size: 1rem; 
    }
    
    /* Profile Sidebar */
    .profile-sidebar {
        top: 0;
        position: relative;
    }

    /* Mobile: remove the top avatar/name/email from the sidebar to save space */
    .profile-sidebar .profile-avatar {
        display: none !important;
    }
    .profile-sidebar h5.text-teal {
        display: none !important;
    }
    .profile-sidebar p.text-muted {
        display: none !important;
    }

    /* Mobile Filters (jobs.php): keep Keyword/Tag usable, hide Country/City */
    .filter-sidebar form[action="jobs.php"] input[name="q"] {
        display: block !important;
        height: 36px;
        padding: 6px 10px;
        font-size: 0.875rem;
        margin-top: 6px;
    }

    /* Country/City show as labels/text if we only hide selects, so hide their whole blocks */
    .filter-sidebar form[action="jobs.php"] .filter-extra {
        display: none !important;
    }

    /* Tourism Cards */
    .tourism-card {
        padding: 15px;
    }

    /* Reduce spacing between sections a bit */
    .profile-sidebar hr {
        margin: 10px 0;
    }
    .sidebar-nav .nav-link {
        margin-bottom: 6px;
    }
    
    /* Action Buttons */
    .action-buttons-container {
        flex-direction: column;
        gap: 10px;
    }

    /* Prevent overlap with the fixed mobile back bar (below navbar) */
    .profile-page-container {
        padding-top: 165px !important;
    }
    
    /* Form Controls */
    .form-control, .form-select {
        font-size: 0.875rem;
    }
}

/* ============================================
   Profile Header Mobile (Updated)
   ============================================ */
@media (max-width: 768px) {
    .profile-header-container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .profile-avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        margin: 0 auto 10px auto;
    }
    .profile-user-name {
        font-size: 1.2rem;
        margin-bottom: 4px;
    }
    .profile-user-email {
        font-size: 0.85rem;
    }
}

/* ============================================
   Inactive Job Styling
   ============================================ */
.job-card-inactive {
    opacity: 0.6;
    filter: grayscale(80%);
}
.btn-apply-dark {
    background-color: #333 !important;
    color: #fff !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Newsletter Form Elements
   ============================================ */
#newsletterForm {
    max-width: 500px;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* ============================================
   CV Text - Line Height Utilities
   ============================================ */
.cv-text {
    line-height: 1.8;
}
.cv-text-pre {
    white-space: pre-line;
    line-height: 1.8;
}

/* Filter Sidebar Sticky Position */
.filter-sidebar {
    top: 90px;
}

/* Job Description Text */
.job-description {
    line-height: 1.8;
}

/* ============================================
   Contact Employer Button Consistency
   ============================================ */
#showEmailBtn.btn-contactemployer,
#showEmailBtn {
    min-width: 180px !important;
    min-height: 52px !important;
    width: 180px !important;
    flex: 0 0 180px !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.btn-contact-expanded {
    min-width: 180px !important;
    min-height: 52px !important;
    width: 180px !important;
    flex: 0 0 180px !important;
}

.contact-employer-wrapper {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.contact-employer-wrapper #showEmailBtn.btn-contactemployer,
.contact-employer-wrapper #showEmailBtn {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex: 0 0 180px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.contact-employer-wrapper.expanded {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
}

.contact-employer-wrapper.expanded #showEmailBtn {
    width: 180px !important;
    min-width: 180px !important;
    max-width: 180px !important;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    flex: 0 0 180px !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    padding: 12px 24px !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
}

.contact-employer-wrapper .d-none + #emailContainer,
.contact-employer-wrapper #emailContainer {
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   Job Action Buttons (Matching Back to Jobs Theme)
   ============================================ */
.btn.job-action-btn,
#applyModal .job-action-btn {
    background-color: transparent !important;
    color: var(--teal) !important;
    border: 1px solid var(--teal) !important;
    border-radius: 50rem !important;
    font-weight: 700 !important;
    transition: all 0.2s ease-in-out;
}

.btn.job-action-btn:hover,
#applyModal .job-action-btn:hover {
    background-color: var(--teal) !important;
    color: #fff !important;
    border-color: var(--teal) !important;
}

/* ============================================
   Utility Label - Small Clean Badge
   ============================================ */
.label-utility {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}
.label-utility.easy-apply {
    background-color: var(--mimosa);
    color: #000;
}

.badge.bg-warning.text-dark {
    font-size: 0.75rem !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    display: inline-block;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.job-reference {
    font-size: 0.75rem;
    font-weight: 700;
}

.custom-job-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    text-overflow: ellipsis;
    height: 3rem;
    line-height: 1.5rem;
}

.badge.bg-warning {
    display: inline-block !important;
    width: auto !important;
    font-size: 0.75rem !important;
    padding: 0.3em 0.6em !important;
    vertical-align: middle;
}

/* ============================================
   Modal Fixes
   ============================================ */
.modal-backdrop {
    z-index: 1040 !important;
}
body.modal-open > .modal-backdrop:nth-child(n+2) {
    display: none !important;
}
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out !important;
}
.modal-open {
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

/* ==========================================================================
   إصلاحات عامة وتلقائية لكافة أزرار وحاويات الموقع في الوضعين LTR و RTL
   ========================================================================== */
[dir="rtl"] {
    text-align: right !important;
}

.tourism-card .mt-auto,
.card-body-content + .mt-auto,
.action-buttons-container {
    display: flex !important;
    gap: 12px !important;
}

.tourism-card .mt-auto .btn,
.tourism-card .mt-auto .btn-mimosa,
.action-buttons-container .btn {
    margin-inline-end: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    flex-grow: 1;
}

.tourism-card .action-icons,
.action-icons {
    display: flex !important;
    gap: 8px !important;
    align-items: center;
    flex-shrink: 0;
}

.email-card {
    border-left: none !important;
    border-right: none !important;
    border-inline-start: 4px solid var(--mimosa) !important;
}

.promo-card {
    border-left: none !important;
    border-right: none !important;
    border-inline-start: 4px solid var(--teal) !important;
}

[dir="rtl"] .pagination .page-link {
    direction: ltr;
}
