/* ════════════════════════════════════════════════════════════
   SAKTHI CLASSIFIEDS — SHARED DESIGN SYSTEM
   Extracted from the modernized index.php premium design.
   All pages should link this file for consistent styling.
════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
    --primary: #4f46e5;
    --primary-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --primary-dark: #3730a3;
    --primary-light: #818cf8;
    --secondary: #059669;
    --secondary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --accent-amber: #f59e0b;
    --dark: #0f172a;
    --dark-muted: #334155;
    --light-bg: #f8fafc;
    --light-card: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 30px rgba(79, 70, 229, 0.08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 24px 60px rgba(79, 70, 229, 0.18);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --transition-smooth: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global Reset ── */
html {
    scroll-behavior: smooth;
}

/* .ad-company-logo-badge {
    display: inline-flex;
    width: 60px;
    height: 30px;
    align-items: center;
    justify-content: center;
    /* padding: 6px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    color: #64748b;
} */

.ad-company-logo-badge img {
    display: block;
    /* max-width: 100%;
    max-height: 100%; */
    /* object-fit: contain; */
    width:60px;
    height:60px;
    border-radius: 50%;
}

.ad-image-upload-list > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

.ad-image-upload-list > [class*="col-"]:not(:last-child) {
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .location-section-title > i {
        display: none;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", "Poppins", sans-serif;
}

body {
    background-color: var(--light-bg);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(124, 58, 237, 0.04) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--dark);
    overflow-x: clip;
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ════════════════════════════════════════════════════════════
   TYPOGRAPHY
════════════════════════════════════════════════════════════ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 30px;
    margin-bottom: 12px;
    border: 1px solid rgba(79, 70, 229, 0.15);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-title span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 35px auto;
}

/* ════════════════════════════════════════════════════════════
   NAVIGATION (nav.php) — MODERNIZED STICKY
════════════════════════════════════════════════════════════ */
header,
header.main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1050 !important;
    width: 100%;
}

.navbar {
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    z-index: 1050 !important;
    background: var(--glass-bg) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 8px 0;
}

.navbar .navbar-brand img {
    max-height: 45px;
    width: auto;
}

.navbar-toggler {
    border: 1.5px solid rgba(79, 70, 229, 0.3) !important;
    padding: 6px 10px;
    border-radius: 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

/* Auth buttons in nav */
.nav-auth-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.nav-auth-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.35);
}

.nav-auth-box a {
    color: #fff !important;
    text-decoration: none;
    font-weight: 700;
}

.nav-auth-box a:hover {
    text-decoration: underline;
}

.nav-auth-label {
    font-weight: 500;
    opacity: 0.85;
}

.btn-post-ad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none !important;
}

.btn-post-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.4);
    color: #fff !important;
}

/* ════════════════════════════════════════════════════════════
   PAGE HEADER / BREADCRUMBS
════════════════════════════════════════════════════════════ */
.page-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.page-header .breadcrumb {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.page-header .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.page-header .breadcrumb a:hover {
    text-decoration: underline;
}

.page-header .breadcrumb .separator {
    color: #94a3b8;
    margin: 0 8px;
}

.page-header .breadcrumb .current {
    color: #64748b;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   SEARCH BAR (Listing Pages)
════════════════════════════════════════════════════════════ */
.search-bar-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 30px;
}

.search-bar-section .form-control {
    height: 48px;
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.92rem;
    font-weight: 500;
    padding-left: 16px;
    transition: var(--transition-smooth);
}

.search-bar-section .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.search-bar-section .btn-search {
    height: 48px;
    padding: 0 28px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-sm) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 6px 18px rgba(79, 70, 229, 0.25);
    transition: var(--transition-smooth);
}

.search-bar-section .btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.38);
}

/* ════════════════════════════════════════════════════════════
   MODERN CARD GRID (Listing Pages)
════════════════════════════════════════════════════════════ */
.modern-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
    width: 100%;
}

.modern-card {
    background: var(--light-card);
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    height: 100%;
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.modern-card .card-img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    padding: 8px;
}

.modern-card .card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.modern-card .card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.modern-card .card-price .period {
    font-weight: 400;
    color: #64748b;
    font-size: 0.85rem;
}

.modern-card .card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.modern-card .card-location {
    font-size: 0.82rem;
    color: #94a3b8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modern-card .card-location i {
    color: var(--primary);
    font-size: 0.8rem;
}

.modern-card .card-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.modern-card .card-footer-row .btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--primary-gradient);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
}

.modern-card .card-footer-row .btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

.modern-card .card-footer-row .card-date {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

/* ════════════════════════════════════════════════════════════
   VIEW/DETAIL PAGE STYLES
════════════════════════════════════════════════════════════ */
.detail-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: 60vh;
}

.detail-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.detail-back-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.detail-back-link i {
    font-size: 0.85rem;
}

/* Product Image Section */
.product-image-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: var(--radius-md);
    background: #0f172a;
    transition: transform 0.5s ease;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.product-thumbnails .thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.product-thumbnails .thumb:hover,
.product-thumbnails .thumb.active {
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* Modernized View Hero Cards & Layout */
.view-hero-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.main-img-holder {
    width: 100%;
    height: 380px;
    background: #0f172a;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.main-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.main-img-holder:hover img {
    transform: scale(1.02);
}

.category-badge-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
}

.thumb-strip {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #0f172a;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover, .thumb-item.active {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.price-badge-box {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 20px;
}

.price-val {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.spec-item-card {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
}

.spec-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-shrink: 0;
}

.spec-meta-label {
    font-size: 0.76rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.spec-meta-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
}

.trust-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #059669;
    background: #ecfdf5;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Company Card */
.company-card {
    background: var(--light-card);
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 24px;
    width: 100%;
    transition: var(--transition-smooth);
}

.company-card:hover {
    box-shadow: var(--shadow-lg);
}

.company-card .company-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.company-card .company-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

.company-card .company-info h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.company-card .company-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}

.company-card .company-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 20px;
    padding: 0 4px;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    background: var(--secondary-gradient);
    color: #fff !important;
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    transition: var(--transition-smooth);
    text-decoration: none;
    cursor: pointer;
    animation: pulse-green 2s infinite;
}

.btn-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.4);
    color: #fff !important;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3); }
    50% { box-shadow: 0 10px 35px rgba(5, 150, 105, 0.5); }
}

/* Product Details */
.product-detail-section {
    background: var(--light-card);
    border: 1px solid #edf2f7;
    border-radius: var(--radius-md);
    padding: 30px;
    margin-top: 24px;
    box-shadow: var(--shadow-sm);
}

.product-detail-section .product-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.product-detail-section .product-description {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
    word-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.product-detail-section .product-description * {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
}

.detail-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-info-row:last-child {
    border-bottom: none;
}

.detail-info-label {
    font-weight: 700;
    color: var(--dark);
    min-width: 120px;
    font-size: 0.92rem;
    flex-shrink: 0;
}

.detail-info-value {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.92rem;
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    margin: 8px 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-price .period {
    font-weight: 400;
    color: #64748b;
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE TOP JOB HERO & ACTION CONTAINER
════════════════════════════════════════════════════════════ */
.job-top-hero {
    background: #ffffff;
    border-radius: var(--radius-md);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 24px 28px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.job-top-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.job-top-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.job-top-info {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 280px;
    max-width: 100%;
}

.job-top-company-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    flex-shrink: 0;
    background: #ffffff;
}

.job-top-title-wrap {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

.job-top-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 6px 0;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-break: break-word;
}

.job-top-subtitle {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.job-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-top-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--secondary-gradient);
    color: #ffffff !important;
    font-weight: 800;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.btn-top-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(5, 150, 105, 0.45);
    color: #ffffff !important;
}

.btn-top-applied {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #e2e8f0;
    color: #475569 !important;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    border: none;
    cursor: not-allowed;
    white-space: nowrap;
}

.job-top-pills-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.job-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.job-spec-pill i {
    color: var(--primary);
    font-size: 0.85rem;
}

.job-salary-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 20px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #047857;
}

@media (max-width: 768px) {
    .job-top-hero {
        padding: 18px 16px;
    }
    .job-top-header-row {
        flex-direction: column;
        align-items: stretch;
    }
    .job-top-actions {
        width: 100%;
    }
    .btn-top-apply, .btn-top-applied {
        width: 100%;
    }
    .job-top-title {
        font-size: 1.25rem;
    }
}

/* ════════════════════════════════════════════════════════════
   UNIQUE CAPTCHA CONTAINER SYSTEM (CENTERED & MODERN)
════════════════════════════════════════════════════════════ */
.captcha-container-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
    max-width: 480px;
    margin: 0 auto;
}

.captcha-container-card:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

.captcha-badge-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.captcha-image-render {
    height: 42px;
    border-radius: 6px;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.btn-captcha-refresh {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    padding: 0;
}

.btn-captcha-refresh:hover {
    background: var(--primary);
    color: #ffffff;
    /* transform: rotate(180deg); */
}

.captcha-input-wrap {
    flex: 1;
    min-width: 150px;
}

.captcha-input-field {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase !important;
    height: 44px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.captcha-input-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    background: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   UNDER-INPUT FIELD ERROR MESSAGES & VALIDATION STATES
════════════════════════════════════════════════════════════ */
.field-error-msg {
    display: none;
    font-size: 0.82rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: 5px;
    line-height: 1.35;
    animation: fadeInError 0.2s ease-in-out;
}

.field-error-msg.visible {
    display: flex !important;
    align-items: center;
    gap: 5px;
}

.field-error-msg i {
    margin-right: 4px;
}

.input-group.has-error .form-control,
.input-group.has-error .form-select,
.input-group.has-error .input-group-text,
.form-control.is-invalid,
.form-select.is-invalid,
.captcha-container-card.has-error {
    border-color: #ef4444 !important;
}

.form-control.is-invalid:focus,
.form-select.is-invalid:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.2) !important;
}

.input-group.has-error .input-group-text {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
}

.input-group.has-error {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
    border-radius: var(--radius-sm);
}

.captcha-container-card.has-error {
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

@keyframes fadeInError {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════════════════
   AUTH FORMS (Login, Register, OTP, Password Reset)
════════════════════════════════════════════════════════════ */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: var(--light-bg);
    background-image:
        radial-gradient(at 20% 20%, rgba(99, 102, 241, 0.08) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(124, 58, 237, 0.06) 0px, transparent 50%);
}

.auth-card {
    background: var(--light-card);
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.auth-card .auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    text-align: center;
    margin-bottom: 8px;
}

.auth-card .auth-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 28px;
}

.auth-card .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark-muted);
    margin-bottom: 6px;
}

.auth-card .form-control {
    height: 48px;
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.92rem;
    padding-left: 16px;
    transition: var(--transition-smooth);
}

.auth-card .form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.auth-card .btn-auth {
    width: 100%;
    height: 50px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: var(--transition-smooth);
    margin-top: 8px;
}

.auth-card .btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.auth-card .auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 0.88rem;
    color: #64748b;
}

.auth-card .auth-link a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.auth-card .auth-link a:hover {
    text-decoration: underline;
}

/* OTP Inputs */
.otp-inputs-wrapper {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}

.otp-digit {
    width: 56px;
    height: 64px;
    font-size: 1.6rem;
    font-weight: 800;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--dark);
    transition: var(--transition-smooth);
}

.otp-digit:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    outline: none;
    background: #f8faff;
}

/* ════════════════════════════════════════════════════════════
   DASHBOARD SIDEBAR & LAYOUT
════════════════════════════════════════════════════════════ */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

.dashboard-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
    color: #fff;
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
    transition: transform 0.3s ease;
}

.dashboard-sidebar .sidebar-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
}

.dashboard-sidebar .sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    border-radius: 0;
}

.dashboard-sidebar .sidebar-nav a:hover,
.dashboard-sidebar .sidebar-nav a.active {
    background: rgba(79, 70, 229, 0.3);
    color: #fff;
}

.dashboard-sidebar .sidebar-nav a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--light-bg);
    min-height: 100vh;
}

/* ════════════════════════════════════════════════════════════
   AD FORMS
════════════════════════════════════════════════════════════ */
.ad-form-card {
    background: var(--light-card);
    border: 1px solid #edf2f7;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 36px;
    max-width: 800px;
    margin: 30px auto;
}

.ad-form-card .form-group {
    margin-bottom: 20px;
}

.ad-form-card .form-label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark-muted);
    margin-bottom: 6px;
}

.ad-form-card .form-control,
.ad-form-card .form-select {
    height: 48px;
    border-radius: var(--radius-sm) !important;
    border: 1.5px solid #e2e8f0 !important;
    font-size: 0.92rem;
    transition: var(--transition-smooth);
}

.ad-form-card textarea.form-control {
    height: auto;
    min-height: 120px;
}

.ad-form-card .form-control:focus,
.ad-form-card .form-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
}

.ad-form-card .btn-submit {
    padding: 14px 36px;
    background: var(--primary-gradient);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
    transition: var(--transition-smooth);
}

.ad-form-card .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

/* ════════════════════════════════════════════════════════════
   MODERN FOOTER
════════════════════════════════════════════════════════════ */
.modern-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 48px;
}

.modern-footer h5 {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.modern-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer ul li {
    margin-bottom: 8px;
}

.modern-footer ul li a {
    color: rgb(226, 224, 224) !important;
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-smooth);
    position: relative;
    display: inline-block;
}

.modern-footer ul li a:hover {
    color: var(--primary-light) !important;
    transform: translateX(4px);
}

.modern-footer .footer-brand p {
    color: rgb(253, 250, 250);
    font-size: 0.88rem;
    line-height: 1.6;
}

.modern-footer .footer-divider {
    border-top: 1px solid rgb(243, 240, 240);
    margin: 32px 0 0 0;
}

.modern-footer .footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.82rem;
    color: rgb(255, 252, 252);
}

/* ════════════════════════════════════════════════════════════
   EMPTY STATE / NO RESULTS
════════════════════════════════════════════════════════════ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--light-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.empty-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.empty-state h5 {
    font-weight: 700;
    color: var(--dark-muted);
    margin-bottom: 8px;
}

.empty-state p {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ════════════════════════════════════════════════════════════
   UTILITY CLASSES
════════════════════════════════════════════════════════════ */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary {
    background: var(--primary-gradient);
}

.rounded-modern {
    border-radius: var(--radius-md);
}

.shadow-modern {
    box-shadow: var(--shadow-md);
}

/* ════════════════════════════════════════════════════════════
   BACK TO TOP BUTTON
════════════════════════════════════════════════════════════ */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1090;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
    color: #ffffff;
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
════════════════════════════════════════════════════════════ */

/* Tablet Landscape */
@media (max-width: 992px) {
    .section-title {
        font-size: 1.8rem;
    }

    .dashboard-sidebar {
        transform: translateX(-100%);
    }

    .dashboard-sidebar.open {
        transform: translateX(0);
    }

    .dashboard-content {
        margin-left: 0;
    }

    .product-main-image {
        height: 320px;
    }

    .auth-card {
        padding: 32px 28px;
    }

    .ad-form-card {
        padding: 28px 24px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .modern-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 16px;
    }

    .product-main-image {
        height: 260px;
    }

    .product-detail-section {
        padding: 20px;
    }

    .product-detail-section .product-title {
        font-size: 1.3rem;
    }

    .detail-container {
        padding: 20px 16px;
    }

    .company-card {
        padding: 20px;
    }

    .nav-auth-box {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .btn-post-ad {
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .auth-card {
        padding: 28px 20px;
    }

    .ad-form-card {
        padding: 24px 20px;
        margin: 20px 12px;
    }

    .detail-info-row {
        flex-direction: column;
        gap: 4px;
    }

    .detail-info-label {
        min-width: auto;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .section-title {
        font-size: 1.3rem;
    }

    .modern-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .search-bar-section {
        padding: 12px;
    }

    .search-bar-section .form-control {
        height: 44px;
        font-size: 0.88rem;
    }

    .search-bar-section .btn-search {
        width: 100%;
        margin-top: 10px;
    }

    .product-main-image {
        height: 220px;
    }

    .product-thumbnails .thumb {
        width: 48px;
        height: 48px;
    }

    .company-card .company-header {
        flex-direction: column;
        text-align: center;
    }

    .btn-apply {
        padding: 12px 20px;
        font-size: 0.92rem;
    }

    .auth-card {
        padding: 24px 16px;
        border-radius: var(--radius-md);
    }

    .auth-card .auth-title {
        font-size: 1.3rem;
    }

    .ad-form-card {
        padding: 20px 16px;
        margin: 16px 8px;
        border-radius: var(--radius-md);
    }

    .page-header {
        padding: 16px 0;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }
}

/* ════════════════════════════════════════════════════════════
   SUBMISSION LOADING & SCREEN FREEZING OVERLAY
════════════════════════════════════════════════════════════ */
.submission-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: all;
    animation: fadeInOverlay 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.submission-overlay.active {
    display: flex;
}

.submission-card {
    background: #ffffff;
    border-radius: var(--radius-md, 20px);
    padding: 40px 36px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    text-align: center;
    max-width: 440px;
    width: 90%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.8);
    animation: scaleUpCard 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.submission-spinner-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
}

.submission-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid #e0e7ff;
    border-top: 4px solid var(--primary, #4f46e5);
    border-right: 4px solid #7c3aed;
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

.submission-icon-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    color: var(--primary, #4f46e5);
    animation: pulseIcon 1.5s ease-in-out infinite;
}

.submission-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.submission-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-bottom: 22px;
    line-height: 1.5;
}

.submission-bar-wrap {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.submission-bar-fill {
    position: absolute;
    top: 0;
    left: -50%;
    height: 100%;
    width: 50%;
    background: var(--primary-gradient, linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%));
    border-radius: 10px;
    animation: shimmerLoader 1.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes spinLoader {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseIcon {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

@keyframes shimmerLoader {
    0% { left: -50%; width: 30%; }
    50% { left: 30%; width: 50%; }
    100% { left: 100%; width: 40%; }
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUpCard {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ════════════════════════════════════════════════════════════
   SCREEN FREEZING DURING FORM SUBMISSION
════════════════════════════════════════════════════════════ */
body.submitting-frozen {
    overflow: hidden !important;
    pointer-events: none !important;
    user-select: none !important;
}

body.submitting-frozen .submission-overlay {
    pointer-events: all !important;
}

/* ════════════════════════════════════════════════════════════
   GLOBAL VIBRANT COLORFUL BUTTON SYSTEM
════════════════════════════════════════════════════════════ */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm, 10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button - Electric Indigo */
.btn-primary, .btn-indigo {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3) !important;
}
.btn-primary:hover, .btn-indigo:hover {
    background: linear-gradient(135deg, #4338ca 0%, #4f46e5 100%) !important;
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45) !important;
    color: #ffffff !important;
}

/* Success / Approve Button - Vivid Emerald */
.btn-success, .btn-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3) !important;
}
.btn-success:hover, .btn-emerald:hover {
    background: linear-gradient(135deg, #047857 0%, #059669 100%) !important;
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.45) !important;
    color: #ffffff !important;
}

/* Danger / Reject / Delete Button - Vivid Crimson */
.btn-danger, .btn-rose {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3) !important;
}
.btn-danger:hover, .btn-rose:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%) !important;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45) !important;
    color: #ffffff !important;
}

/* Warning Button - Vivid Amber */
.btn-warning, .btn-amber {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3) !important;
}
.btn-warning:hover, .btn-amber:hover {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%) !important;
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.45) !important;
    color: #ffffff !important;
}

/* Info / Sky Button */
.btn-info, .btn-sky {
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3) !important;
}
.btn-info:hover, .btn-sky:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45) !important;
    color: #ffffff !important;
}

/* Secondary Button - Slate */
.btn-secondary, .btn-slate {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(71, 85, 105, 0.25) !important;
}
.btn-secondary:hover, .btn-slate:hover {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    box-shadow: 0 6px 20px rgba(71, 85, 105, 0.35) !important;
    color: #ffffff !important;
}

/* Purple / Violet Button */
.btn-purple {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%) !important;
    border: none !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3) !important;
}
.btn-purple:hover {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%) !important;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45) !important;
    color: #ffffff !important;
}

/* Outline Buttons Enhanced */
.btn-outline-primary {
    color: #4f46e5 !important;
    border: 1.5px solid #4f46e5 !important;
    background: rgba(79, 70, 229, 0.04) !important;
}
.btn-outline-primary:hover {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.btn-outline-success {
    color: #059669 !important;
    border: 1.5px solid #059669 !important;
    background: rgba(5, 150, 105, 0.04) !important;
}
.btn-outline-success:hover {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

.btn-outline-danger {
    color: #dc2626 !important;
    border: 1.5px solid #dc2626 !important;
    background: rgba(220, 38, 38, 0.04) !important;
}
.btn-outline-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
}

/* ════════════════════════════════════════════════════════════
   MODERN TOAST NOTIFICATION SYSTEM
════════════════════════════════════════════════════════════ */
.sakthi-toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
    width: calc(100% - 48px);
    pointer-events: none;
}

.sakthi-toast {
    pointer-events: all;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
    overflow: hidden;
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sakthi-toast.toast-hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

.sakthi-toast-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.sakthi-toast-content {
    flex: 1;
    min-width: 0;
}

.sakthi-toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 2px;
}

.sakthi-toast-message {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.45;
    word-break: break-word;
}

.sakthi-toast-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
    transition: color 0.2s;
    margin-left: 4px;
}

.sakthi-toast-close:hover {
    color: #0f172a;
}

.sakthi-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3.5px;
    width: 100%;
    animation: toastProgress 4.5s linear forwards;
}

/* Toast Color Themes */
.sakthi-toast.toast-success {
    border-left: 5px solid #10b981;
}
.sakthi-toast.toast-success .sakthi-toast-icon {
    background: #ecfdf5;
    color: #059669;
}
.sakthi-toast.toast-success .sakthi-toast-progress {
    background: #10b981;
}

.sakthi-toast.toast-error, .sakthi-toast.toast-danger {
    border-left: 5px solid #ef4444;
}
.sakthi-toast.toast-error .sakthi-toast-icon, .sakthi-toast.toast-danger .sakthi-toast-icon {
    background: #fef2f2;
    color: #dc2626;
}
.sakthi-toast.toast-error .sakthi-toast-progress, .sakthi-toast.toast-danger .sakthi-toast-progress {
    background: #ef4444;
}

.sakthi-toast.toast-warning {
    border-left: 5px solid #f59e0b;
}
.sakthi-toast.toast-warning .sakthi-toast-icon {
    background: #fffbeb;
    color: #d97706;
}
.sakthi-toast.toast-warning .sakthi-toast-progress {
    background: #f59e0b;
}

.sakthi-toast.toast-info {
    border-left: 5px solid #3b82f6;
}
.sakthi-toast.toast-info .sakthi-toast-icon {
    background: #eff6ff;
    color: #2563eb;
}
.sakthi-toast.toast-info .sakthi-toast-progress {
    background: #3b82f6;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes toastSlideOut {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100%) scale(0.9);
    }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.modal .btn-close:not(.btn-close-white) {
    filter: invert(19%) sepia(91%) saturate(2792%) hue-rotate(343deg) brightness(91%) contrast(93%) !important;
    opacity: 1;
}

.modal .btn-close.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
    opacity: 1;
}

.service-multi-select .form-check-input {
    border-color: #343a40;
}
