/* Page-specific rules extracted from additions.css; source order within each page bundle is retained. */
/* Jobs Section Styling */
.jobs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

/* Jobs Section Background Elements */
.jobs-section::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.5) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    animation: jobsPulse 8s ease-in-out infinite;
}

.jobs-section::after {
    content: '';
    position: absolute;
    width: 385px;
    height: 385px;
    background: radial-gradient(circle, rgba(93, 173, 226, 0.5) 0%, transparent 70%);
    bottom: -80px;
    right: -80px;
    border-radius: 50%;
    animation: jobsPulse 10s ease-in-out infinite reverse;
}

@keyframes jobsPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Decorative Shapes for Jobs Section */
.jobs-section .container {
    position: relative;
    z-index: 1;
}

.jobs-section .container::before {
    content: '✈';
    position: absolute;
    font-size: 145.2px;
    color: rgba(255, 167, 38, 0.5);
    top: -40px;
    right: 10%;
    transform: rotate(-15deg);
    animation: floatPlane 6s ease-in-out infinite;
}

/* Globe background element removed */
/* .jobs-section .container::after {
    content: '🌍';
    position: absolute;
    font-size: 726px;
    opacity: 0.25;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateGlobe 20s linear infinite;
} */

@keyframes floatPlane {
    0%, 100% {
        transform: rotate(-15deg) translateY(0);
    }
    50% {
        transform: rotate(-15deg) translateY(-20px);
    }
}

@keyframes rotateGlobe {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* Job Card */
.job-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #FFA726, #FF7043);
    z-index: 1;
}

/* Job Photo */
.job-photo {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.job-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-card:hover .job-photo img {
    transform: scale(1.1);
}

.job-card-content {
    padding: 30px;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.job-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12.1px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.job-card-header {
    margin-bottom: 20px;
}

.job-title-section {
    width: 100%;
}

.job-title {
    font-size: 24.2px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
    font-family: 'Rajdhani', sans-serif;
}

.job-location {
    color: #7F8C8D;
    font-size: 15.4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.job-location i {
    color: #FFA726;
}

.job-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 10px;
}

.job-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.job-meta-item i {
    font-size: 22px;
    color: #FFA726;
}

.job-meta-item span {
    font-size: 14.3px;
    font-weight: 600;
    color: #2C3E50;
}

.job-description {
    display: none;
}

.job-highlights {
    margin-bottom: 25px;
}

.job-highlight-section h4 {
    font-size: 16.5px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-highlight-section h4 i {
    color: #4CAF50;
    font-size: 17.6px;
}

.job-highlight-section ul {
    list-style: none;
    padding: 0;
}

.job-highlight-section ul li {
    padding: 8px 0;
    color: #666;
    font-size: 14.3px;
    padding-left: 20px;
    position: relative;
}

.job-highlight-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.job-card-footer {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.btn-view-details,
.btn-apply-job {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15.4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-view-details {
    background: linear-gradient(135deg, #5DADE2 0%, #3498DB 100%);
    color: white;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(93, 173, 226, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-view-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-view-details:hover::before {
    left: 100%;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(93, 173, 226, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-view-details i {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-view-details:hover i {
    transform: scale(1.1);
}

.btn-apply-job {
    background: linear-gradient(135deg, #FFA726, #FF7043);
    color: white;
}

.btn-apply-job:hover {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 167, 38, 0.3);
}

/* Job Modal Styling */
.job-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.job-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}

.job-modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease;
}

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

.job-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 35.2px;
    color: #999;
    cursor: pointer;
    z-index: 10002;
    background: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.job-modal-close:hover {
    color: #333;
    background: #f5f5f5;
    transform: rotate(90deg);
}

.job-modal-header {
    padding: 40px 40px 30px;
    background: linear-gradient(135deg, #FFA726 0%, #FF7043 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.job-modal-header h2 {
    font-size: 35.2px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Rajdhani', sans-serif;
}

.job-modal-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.job-modal-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 8px;
}

.job-modal-meta-item i {
    font-size: 22px;
}

.job-modal-meta-item span {
    font-size: 15.4px;
    font-weight: 500;
}

.job-modal-body {
    padding: 40px;
}

.job-modal-section {
    margin-bottom: 30px;
}

.job-modal-section h3 {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.job-modal-section p {
    color: #555;
    line-height: 1.8;
    font-size: 16.5px;
}

.job-modal-section ul {
    list-style: none;
    padding: 0;
}

.job-modal-section ul li {
    padding: 10px 0;
    color: #666;
    font-size: 15.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.job-modal-section ul li i {
    color: #4CAF50;
    font-size: 17.6px;
}

.job-modal-actions {
    padding: 0 40px 40px;
}

.btn-apply-now {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #FFA726, #FF7043);
    color: white;
    text-align: center;
    border-radius: 10px;
    font-size: 17.6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-apply-now:hover {
    background: linear-gradient(135deg, #FF9800, #FF5722);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 167, 38, 0.3);
}

/* Loading and Error States */
.loading-jobs,
.no-jobs,
.error-jobs {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.loading-jobs i {
    font-size: 52.8px;
    color: #FFA726;
    margin-bottom: 20px;
}

.no-jobs i,
.error-jobs i {
    font-size: 70.4px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.no-jobs h3,
.error-jobs h3 {
    font-size: 26.4px;
    color: #2C3E50;
    margin-bottom: 10px;
}

.no-jobs p,
.error-jobs p {
    color: #999;
    font-size: 15.4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .job-meta {
        grid-template-columns: 1fr;
    }
    
    .job-card-footer {
        flex-direction: column;
    }
    
    .job-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .job-modal-header,
    .job-modal-body,
    .job-modal-actions {
        padding: 20px;
    }
    
    .job-modal-header h2 {
        font-size: 26.4px;
    }
    
    .job-modal-meta {
        grid-template-columns: 1fr;
    }

    #applyForm input,
    #applyForm select,
    #applyForm textarea {
        min-height: 48px;
        font-size: 16px;
    }
}



/* ============================================================
   PREMIUM CURRENT JOBS UI + BOOKING MODAL + SHARE MENU (2026)
   ============================================================ */

.jobs-premium-section {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: calc(70px + var(--space-3, 0px)) 0 80px;
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 22%, #f1f5f9 55%, #ffffff 100%);
}

.jobs-noise {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .35;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1 0 0 0 0 0.05 0 0 0 0 0.2 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.jobs-aurora {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55;
    z-index: 0;
    pointer-events: none;
    mix-blend-mode: screen;
}
.jobs-aurora-1 {
    top: -180px;
    left: -140px;
    background: radial-gradient(circle at 30% 30%, #fdba74 0%, #f97316 45%, transparent 70%);
    animation: auroraShift 18s ease-in-out infinite alternate;
}
.jobs-aurora-2 {
    top: -80px;
    right: -160px;
    background: radial-gradient(circle at 70% 40%, #60a5fa 0%, #3b82f6 45%, transparent 70%);
    animation: auroraShift 22s ease-in-out infinite alternate-reverse;
}
@keyframes auroraShift {
    0%   { transform: translate3d(0,0,0) scale(1); }
    50%  { transform: translate3d(24px,-14px,0) scale(1.07); }
    100% { transform: translate3d(-18px,20px,0) scale(.96); }
}

.jobs-premium-section > .container { position: relative; z-index: 1; }

.jobs-premium-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}
.jobs-premium-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #9a3412;
    background: linear-gradient(180deg, #fff7ed, #ffedd5);
    border: 1px solid #fed7aa;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.04), 0 4px 12px -8px rgba(249,115,22,.4);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.jobs-premium-kicker i { color: #f97316; }

.jobs-premium-head .section-title {
    font-size: clamp(28px, 4vw, 44px);
    background: linear-gradient(135deg, #1e293b 0%, #7a0911 55%, #c2410c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}
.jobs-premium-head .section-subtitle {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 620px;
}

/* ---------- Premium Grid ---------- */
.jobs-premium-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 1100px) { .jobs-premium-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 680px)  { .jobs-premium-grid { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin-inline: auto; } }

/* ---------- Premium Card ---------- */
.job-premium-card {
    --accent: #f97316;
    --accent-2: #3b82f6;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(15,23,42,.04), 0 20px 40px -22px rgba(15,23,42,.22);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .2s ease;
    border: 1px solid rgba(15,23,42,.06);
}
.job-premium-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #fb923c 0%, #f97316 40%, #ef4444 70%, #dc2626 100%);
    z-index: 3;
}
.job-premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 2px 0 rgba(15,23,42,.05), 0 32px 52px -26px rgba(15,23,42,.28);
    border-color: rgba(249,115,22,.35);
}

.job-premium-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e5e7eb;
}
.job-premium-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.job-premium-card:hover .job-premium-thumb img { transform: scale(1.06); }

.job-premium-thumb-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 40%, rgba(15,23,42,.35) 100%);
    z-index: 1;
    pointer-events: none;
}

.job-premium-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    gap: 8px;
    z-index: 2;
}
.job-premium-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 6px 16px -8px rgba(15,23,42,.4);
}
.badge-new-job { background: linear-gradient(135deg, #22d3ee, #0ea5e9); }
.badge-hot     { background: linear-gradient(135deg, #f97316, #dc2626); }

.job-premium-share-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.85);
    color: #1e293b;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px -10px rgba(15,23,42,.35);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.job-premium-share-toggle:hover { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; transform: translateY(-1px) rotate(-6deg); }

.job-premium-body {
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.job-premium-head {
    display: block;
    text-align: left;
    max-width: none;
    margin: 0;
}
.job-premium-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    color: #1e293b;
    margin: 0 0 8px;
    letter-spacing: .3px;
}
.job-premium-location {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 14.5px;
    margin: 0;
}
.job-premium-location i { color: var(--accent); font-size: 15px; }

/* 3 meta pills */
.job-premium-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 14px 12px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,.05);
}
.job-premium-meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}
.job-premium-meta-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
}
.meta-icon-people   { background: linear-gradient(135deg,#fb923c,#f97316); }
.meta-icon-money    { background: linear-gradient(135deg,#4ade80,#16a34a); }
.meta-icon-calendar { background: linear-gradient(135deg,#60a5fa,#2563eb); }
.job-premium-meta-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    letter-spacing: .15px;
    line-height: 1.15;
}
@media (max-width: 420px) {
    .job-premium-meta { grid-template-columns: repeat(3,1fr); gap: 6px; padding: 10px 8px; }
    .job-premium-meta-icon { width: 32px; height: 32px; border-radius: 10px; font-size: 14px; }
    .job-premium-meta-label { font-size: 11.5px; }

    /* Stack action buttons full-width on very small screens */
    .job-premium-actions { grid-template-columns: 1fr; gap: 10px; }
    .btn-premium-book, .btn-premium-details { min-height: 52px; height: 52px; font-size: 14.5px; padding: 0 16px; }

    .job-modal-footer-ext { grid-template-columns: 1fr; gap: 10px; }
    .btn-modal-book { min-height: 50px; height: 50px; font-size: 14px; padding: 0 16px; }
}

/* Requirements */
.job-premium-req {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.job-premium-req-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}
.job-premium-req-check {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#4ade80,#16a34a);
    color: #fff;
    font-size: 12px;
    box-shadow: 0 6px 12px -6px rgba(22,163,74,.55);
}
.job-premium-req-title h4 {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: .2px;
}
.job-premium-req ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.job-premium-req ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.5;
}
.job-premium-req ul li i {
    color: #16a34a;
    margin-top: 3px;
    font-size: 12px;
    flex-shrink: 0;
}

/* Actions — Modern 2026 premium row */
.job-premium-actions {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 12px;
    align-items: stretch;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed #e2e8f0;
}
.btn-premium-book,
.btn-premium-details {
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-height: 54px;
    height: 54px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    white-space: nowrap;
    text-decoration: none;
    font-family: inherit;
}
.btn-premium-book {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #dc2626 100%);
    box-shadow:
        0 10px 24px -10px rgba(249,115,22,.62),
        0 4px 10px -4px rgba(220,38,38,.35),
        inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-premium-book::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 80px at 10% 10%, rgba(255,255,255,.35), transparent 60%);
    pointer-events: none;
}
.btn-premium-book:hover {
    transform: translateY(-2px) scale(1.015);
    box-shadow:
        0 18px 34px -12px rgba(249,115,22,.78),
        0 6px 14px -5px rgba(220,38,38,.45),
        inset 0 1px 0 rgba(255,255,255,.32);
    filter: brightness(1.05) saturate(1.08);
}
.btn-premium-book i {
    background: rgba(255,255,255,.18);
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    backdrop-filter: blur(2px);
}
.btn-premium-details {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    box-shadow:
        0 10px 22px -14px rgba(15,23,42,.25),
        inset 0 1px 0 #ffffff;
}
.btn-premium-details i {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff;
    width: 30px; height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 6px 14px -8px rgba(59,130,246,.7);
}
.btn-premium-details:hover {
    transform: translateY(-2px);
    border-color: #3b82f6;
    color: #1d4ed8;
    box-shadow:
        0 16px 30px -16px rgba(59,130,246,.55),
        0 6px 14px -6px rgba(15,23,42,.18),
        inset 0 1px 0 #ffffff;
}
.btn-premium-book:active,
.btn-premium-details:active { transform: translateY(0); }

/* Loading / empty states */
.loading-jobs, .no-jobs, .error-jobs {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px 20px;
    color: #64748b;
    background: #ffffff;
    border-radius: 20px;
    border: 1px dashed #cbd5e1;
    text-align: center;
}
.loading-spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
    border-top-color: #f97316;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.no-jobs i, .error-jobs i { font-size: 40px; opacity: .5; }
.no-jobs h3, .error-jobs h3 { color: #1e293b; margin: 4px 0 0; font-size: 18px; }

/* ------- Booking Modal ------- */
.job-book-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    background: transparent;
}
.job-book-modal.active { display: block; }
.job-book-modal-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 600px at 50% -10%, rgba(59,130,246,.25), transparent 60%), rgba(15,23,42,.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.job-book-modal-panel {
    position: relative;
    z-index: 2;
    margin: 4vh auto;
    max-width: 620px;
    width: calc(100% - 28px);
    max-height: 92vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(15,23,42,.45);
    border: 1px solid rgba(255,255,255,.3);
    animation: modalIn .32s cubic-bezier(.2,.8,.2,1);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.job-book-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all .2s ease;
    z-index: 2;
}
.job-book-modal-close:hover { background: #fee2e2; color: #b91c1c; transform: rotate(90deg); }

.job-book-modal-head {
    padding: 26px 26px 18px;
    background: linear-gradient(135deg, #fff7ed 0%, #eff6ff 100%);
    border-bottom: 1px solid rgba(15,23,42,.06);
    border-radius: 20px 20px 0 0;
    position: relative;
}
.job-book-modal-head::before {
    content: "";
    position: absolute;
    left: 26px; top: 0; right: 26px; height: 3px;
    background: linear-gradient(90deg, #f97316, #3b82f6);
    border-radius: 0 0 20px 20px;
}
.job-book-modal-icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f97316, #dc2626);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 22px;
    margin-bottom: 12px;
    box-shadow: 0 14px 24px -12px rgba(249,115,22,.5);
}
.job-book-modal-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    color: #0f172a;
    letter-spacing: .3px;
}
.job-book-modal-sub { margin: 0; color: #64748b; font-size: 14px; }
.job-book-modal-job-title {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.07);
    color: #1e293b;
    font-weight: 700;
    box-shadow: 0 2px 6px -4px rgba(15,23,42,.1);
}

.job-book-form { padding: 20px 26px 24px; }
.job-book-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
@media (max-width: 540px) { .job-book-form-grid { grid-template-columns: 1fr; } }

.job-book-field { display: flex; flex-direction: column; gap: 6px; }
.job-book-field.job-book-field-full { grid-column: 1 / -1; margin-top: 4px; }
.job-book-field label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #334155;
    text-transform: capitalize;
}
.job-book-field label .req { color: #dc2626; }
.job-book-field input,
.job-book-field select,
.job-book-field textarea {
    padding: 10px 12px;
    font-size: 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    width: 100%;
    font-family: inherit;
    resize: vertical;
}
.job-book-field input::placeholder,
.job-book-field textarea::placeholder { color: #94a3b8; }
.job-book-field input:focus,
.job-book-field select:focus,
.job-book-field textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249,115,22,.12);
    background: #fffaf5;
}

.job-book-footer {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(15,23,42,.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.book-feedback {
    min-height: 0;
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
}
.book-feedback.book-loading { display: flex; background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.book-feedback.book-success { display: flex; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.book-feedback.book-error   { display: flex; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.book-feedback i { font-size: 16px; flex-shrink: 0; }
.btn-spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.4);
    border-top-color: #fff;
    animation: spin .8s linear infinite;
    display: inline-block;
}
.btn-spinner.inline { border: 2px solid #bfdbfe; border-top-color: #1d4ed8; }

.job-book-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.btn-book-cancel {
    padding: 11px 18px;
    border-radius: 10px;
    background: #f1f5f9;
    border: none;
    color: #475569;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s ease;
    font-size: 13.5px;
}
.btn-book-cancel:hover { background: #e2e8f0; color: #1e293b; }
.btn-book-submit {
    padding: 11px 20px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all .22s ease;
    font-size: 13.5px;
    box-shadow: 0 14px 28px -14px rgba(249,115,22,.55);
}
.btn-book-submit:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-book-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; filter: grayscale(.2); }

.sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

/* -------- Share Menu -------- */
.job-share-menu {
    position: fixed;
    z-index: 9999;
    width: 320px;
    max-width: calc(100vw - 24px);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 24px 60px -18px rgba(15,23,42,.35), 0 0 0 1px rgba(15,23,42,.06);
    display: none;
    animation: sharePop .22s cubic-bezier(.2,.8,.2,1);
    transform-origin: top center;
}
@keyframes sharePop { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }
.job-share-menu.active { display: block; }

.job-share-close {
    position: absolute;
    top: 10px; right: 10px;
    width: 28px; height: 28px;
    border: none; border-radius: 50%;
    background: rgba(15,23,42,.06); color: #64748b;
    cursor: pointer; font-size: 16px; line-height: 1;
    transition: all .18s ease;
}
.job-share-close:hover { background: #fee2e2; color: #b91c1c; }

.job-share-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 24px 10px 2px;
    border-bottom: 1px solid rgba(15,23,42,.06);
    margin-bottom: 12px;
}
.job-share-head-icon {
    width: 40px; height: 40px; border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px;
    box-shadow: 0 12px 22px -10px rgba(59,130,246,.55);
}
.job-share-head h4 { margin: 0 0 2px; font-size: 15px; color: #0f172a; }
.job-share-title { margin: 0; font-size: 12px; color: #64748b; line-height: 1.3; max-width: 220px; }

.job-share-url {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 8px 8px 12px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.07);
    border-radius: 10px;
    margin-bottom: 14px;
}
.job-share-url-label {
    font-size: 11.5px;
    color: #475569;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    direction: rtl;
    text-align: left;
}
.job-share-url-copy {
    flex-shrink: 0;
    padding: 6px 10px;
    font-size: 11.5px;
    font-weight: 700;
    border: none;
    background: #f1f5f9;
    color: #334155;
    border-radius: 7px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all .18s ease;
}
.job-share-url-copy:hover { background: #1e293b; color: #fff; }

.job-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.job-share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 12px;
    border: 1px solid rgba(15,23,42,.06);
    background: #fff;
    cursor: pointer;
    color: #0f172a;
    transition: all .2s ease;
    font-size: 11.5px;
    font-weight: 700;
}
.job-share-btn i { font-size: 17px; }
.job-share-btn:hover { transform: translateY(-2px); }
.share-facebook { color: #1877f2; }   .share-facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-linkedin { color: #0a66c2; }   .share-linkedin:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.share-twitter  { color: #000; }      .share-twitter:hover  { background: #000; color: #fff; border-color: #000; }
.share-whatsapp { color: #25d366; }   .share-whatsapp:hover { background: #25d366; color: #fff; border-color: #25d366; }
.share-mail     { color: #ea580c; }   .share-mail:hover     { background: #ea580c; color: #fff; border-color: #ea580c; }
.share-copy     { color: #1d4ed8; }   .share-copy:hover     { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }

.job-share-toast {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 12px;
    text-align: center;
    background: #0f172a;
    color: #fff;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: all .2s ease;
    word-break: break-all;
}
.job-share-toast.show { opacity: 1; transform: none; }

/* ------- Job modal footer extended (share + book buttons) ------- */
.job-modal-footer-ext {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px dashed rgba(15,23,42,.1);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.btn-modal-book {
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    padding: 0 18px;
    min-height: 52px;
    height: 52px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: .2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all .28s cubic-bezier(.2,.8,.2,1);
    color: #fff;
    font-family: inherit;
    text-decoration: none;
}
.btn-modal-book {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #dc2626 100%);
    box-shadow:
        0 12px 24px -12px rgba(249,115,22,.65),
        inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-modal-book::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120px 70px at 12% 12%, rgba(255,255,255,.32), transparent 60%);
    pointer-events: none;
}
.btn-modal-book i {
    background: rgba(255,255,255,.18);
    width: 28px; height: 28px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 9px; font-size: 13px;
}
.btn-modal-book:hover {
    transform: translateY(-2px) scale(1.01);
    filter: brightness(1.05) saturate(1.08);
    box-shadow:
        0 18px 32px -12px rgba(249,115,22,.8),
        inset 0 1px 0 rgba(255,255,255,.3);
}

/* Fallback: any .jobs-grid (e.g. current-jobs.php) now also renders premium cards  */
.jobs-section:not(.jobs-premium-section) {
    padding: 72px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}
.jobs-grid:not(.jobs-premium-grid) {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}
@media (max-width: 1100px) {
    .jobs-grid:not(.jobs-premium-grid) { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (max-width: 680px) {
    .jobs-grid:not(.jobs-premium-grid) { grid-template-columns: 1fr; gap: 20px; max-width: 460px; margin-inline: auto; }
}

/* ========================================================
   CURRENT JOBS — Full Mobile Responsive Tuning (2026)
   Covers services.php + current-jobs.php premium grid/cards
   + booking modal + share menu on small screens
   ======================================================== */

/* ---------- 1. Premium Section Head ---------- */
@media (max-width: 760px) {
    .jobs-premium-section { padding: 48px 0 54px; }
    .jobs-premium-head { margin-bottom: 26px; }
    .jobs-premium-kicker { font-size: 11.5px; padding: 6px 12px; gap: 6px; }
    .jobs-premium-head .section-title { font-size: 28px; letter-spacing: 1px; margin-bottom: 8px; }
    .jobs-premium-head .section-subtitle { font-size: 13.5px; padding: 0 6px; line-height: 1.55; }
}
@media (max-width: 480px) {
    .jobs-premium-section { padding: 40px 0 48px; }
    .jobs-premium-head .section-title { font-size: 24px; letter-spacing: .8px; }
    .jobs-premium-head .section-subtitle { font-size: 13px; }
}

/* ---------- 2. Grids: both services + standalone current-jobs page ---------- */
@media (max-width: 680px) {
    .jobs-premium-grid,
    .jobs-grid:not(.jobs-premium-grid) {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 460px;
        margin-inline: auto;
    }
}

/* ---------- 3. Premium Card: Mobile Tuning ---------- */
@media (max-width: 760px) {
    .job-premium-card {
        border-radius: 18px;
    }
    .job-premium-body {
        padding: 18px 18px 18px;
        gap: 14px;
    }
    .job-premium-title { font-size: 19.5px; }
    .job-premium-location { font-size: 13.5px; }
    .job-premium-badges { top: 12px; left: 12px; gap: 6px; }
    .job-premium-badge { font-size: 10px; padding: 4px 8px; }
    .job-premium-share-toggle {
        top: 12px; right: 12px;
        width: 34px; height: 34px; font-size: 13px;
    }
    .job-premium-req-title h4 { font-size: 13.5px; }
    .job-premium-req ul li { font-size: 12.5px; }
}

/* Under ~560px meta tiles go 2+1 (look wider and avoid cramped 3-col) */
@media (max-width: 560px) {
    .job-premium-meta {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 10px;
        border-radius: 14px;
    }
    .job-premium-meta-item { flex-direction: row; text-align: left; justify-content: flex-start; gap: 10px; padding: 4px 8px; }
    .job-premium-meta-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; font-size: 14px; }
    .job-premium-meta-label { font-size: 12.5px; font-weight: 700; }
}
@media (max-width: 420px) {
    .job-premium-body {
        padding: 16px 14px 16px;
        gap: 12px;
    }
    .job-premium-title { font-size: 18px; letter-spacing: .2px; }
    .job-premium-location { font-size: 12.8px; }
    .job-premium-req-check { width: 24px; height: 24px; font-size: 11px; border-radius: 7px; }
    .job-premium-req-title h4 { font-size: 13px; }
    .job-premium-req ul { gap: 5px; }
    .job-premium-req ul li { font-size: 12px; line-height: 1.45; }
    .job-premium-req ul li i { font-size: 10.5px; }

    /* Meta: single column rows (feels much roomier on <420) */
    .job-premium-meta {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }
}

/* ---------- 4. Action row ---------- */
@media (max-width: 560px) {
    .job-premium-actions {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-top: 14px;
        margin-top: 18px;
    }
    .btn-premium-book, .btn-premium-details {
        min-height: 52px; height: 52px;
        font-size: 14.5px; padding: 0 16px;
        border-radius: 14px;
    }
    .btn-premium-book i, .btn-premium-details i {
        width: 28px; height: 28px; border-radius: 9px; font-size: 13px;
    }
}
@media (max-width: 420px) {
    .job-premium-actions { padding-top: 12px; margin-top: 16px; }
    .btn-premium-book, .btn-premium-details { min-height: 50px; height: 50px; font-size: 14px; }
}

/* ---------- 5. Booking Modal (mobile) ---------- */
@media (max-width: 560px) {
    .job-book-modal-panel {
        margin: 2vh auto;
        width: calc(100% - 16px);
        border-radius: 16px;
        max-height: 96vh;
    }
    .job-book-modal-head {
        padding: 20px 18px 14px;
        border-radius: 16px 16px 0 0;
    }
    .job-book-modal-head::before { left: 18px; right: 18px; }
    .job-book-modal-icon { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; margin-bottom: 10px; }
    .job-book-modal-head h2 { font-size: 18.5px; }
    .job-book-modal-sub { font-size: 13px; }
    .job-book-form { padding: 0 18px 18px; }
    .job-book-field label { font-size: 12.5px; }
    .job-book-field input, .job-book-field select, .job-book-field textarea {
        font-size: 13.5px; padding: 10px 12px; border-radius: 11px;
    }
    .job-book-footer { flex-direction: column-reverse; gap: 10px; align-items: stretch; }
    .job-book-actions { display: grid; grid-template-columns: 1fr; gap: 8px; }
    .btn-book-cancel { min-height: 46px; border-radius: 12px; }
    .btn-book-submit { min-height: 48px; border-radius: 12px; font-size: 14px; }
    .book-feedback { font-size: 13px; padding: 9px 12px; border-radius: 11px; }
}

/* ---------- 6. Share Menu (mobile centered near top) ---------- */
@media (max-width: 560px) {
    .job-share-menu {
        width: calc(100vw - 28px) !important;
        left: 14px !important;
        right: 14px !important;
        top: auto !important;
        bottom: 14px !important;
        padding: 14px;
        border-radius: 16px;
    }
    .job-share-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .job-share-btn { min-height: 58px; font-size: 11.5px; gap: 4px; border-radius: 12px; }
    .job-share-btn i { font-size: 16px; }
    .job-share-head { padding-right: 28px; }
    .job-share-url { padding: 7px 7px 7px 10px; }
    .job-share-url-label { font-size: 11px; }
    .job-share-url-copy { padding: 6px 10px; font-size: 11.5px; border-radius: 8px; }
}

/* ---------- 7. Job detail modal (mobile) ---------- */
@media (max-width: 560px) {
    .job-modal-footer-ext {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
        padding-top: 14px;
    }
    .btn-modal-book {
        min-height: 50px; height: 50px;
        font-size: 14px;
        border-radius: 13px;
    }
    .btn-modal-book i { width: 27px; height: 27px; font-size: 12.5px; border-radius: 8px; }
}

/* ---------- 8. Standalone current-jobs.php (if it uses old .job-card HTML too) ---------- */
@media (max-width: 760px) {
    .jobs-section:not(.jobs-premium-section) { padding: 48px 0 56px; }
}
@media (max-width: 480px) {
    .jobs-section:not(.jobs-premium-section) { padding: 40px 0 50px; }
    .jobs-section:not(.jobs-premium-section) .section-title { font-size: 24px; }
    .jobs-section:not(.jobs-premium-section) .section-subtitle { font-size: 13px; padding: 0 6px; line-height: 1.55; }
}


/* =========================================================
   Booking Modal — Attachments UI (Multi-file upload)
   ========================================================= */
.job-book-attachments { margin-top: 10px; }

.job-book-attach-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
    border: 1.5px dashed rgba(59,130,246,.35);
    cursor: pointer;
    margin-bottom: 10px;
    transition: all .22s ease;
    user-select: none;
}
.job-book-attach-label:hover {
    border-color: #3b82f6;
    background: linear-gradient(180deg, #eff6ff 0%, #e0f2fe 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -14px rgba(59,130,246,.65);
}
.job-book-attach-label i {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #fff; font-size: 15px;
    box-shadow: 0 8px 18px -10px rgba(59,130,246,.8);
}
.job-book-attach-label > span {
    display: flex; flex-direction: column;
    gap: 2px; line-height: 1.35;
}
.job-book-attach-label strong {
    font-size: 13.5px;
    color: #1e293b;
    font-weight: 800;
    letter-spacing: .1px;
}
.job-book-attach-label small {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}
.job-book-attachments #bookAttachments {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px; height: 1px;
    left: -9999px;
}

.job-book-files-preview { margin-top: 10px; }
.job-book-files-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.job-book-file-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.job-book-file-chip:hover {
    border-color: rgba(59,130,246,.35);
    box-shadow: 0 2px 6px rgba(59,130,246,.08);
}
.job-book-file-chip-remove {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 0;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 12px;
    padding: 0;
    line-height: 1;
    transition: all .15s ease;
}
.job-book-file-chip-remove:hover,
.job-book-file-chip-remove:focus-visible {
    background: rgba(239,68,68,.12);
    color: #ef4444;
    outline: none;
    transform: scale(1.08);
}
.job-book-file-chip-ico {
    flex-shrink: 0;
    width: 34px; height: 34px;
    border-radius: 9px;
    background: #f1f5f9;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 15px;
}
.job-book-file-chip-ico.text-red-500      { color: #dc2626; background: rgba(220,38,38,.08); }
.job-book-file-chip-ico.text-blue-600     { color: #2563eb; background: rgba(37,99,235,.09); }
.job-book-file-chip-ico.text-green-600    { color: #16a34a; background: rgba(22,163,74,.09); }
.job-book-file-chip-ico.text-purple-500   { color: #a855f7; background: rgba(168,85,247,.1); }
.job-book-file-chip-ico.text-amber-600    { color: #d97706; background: rgba(217,119,6,.1); }
.job-book-file-chip-ico.text-slate-500    { color: #64748b; background: #f1f5f9; }

.job-book-file-chip-meta {
    display: flex; flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.job-book-file-chip-meta .jbf-name {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.job-book-file-chip-meta .jbf-size {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

/* Mobile adjustments for attachment chips */
@media (max-width: 560px) {
    .job-book-attach-label { padding: 12px 13px; gap: 10px; border-radius: 12px; }
    .job-book-attach-label i { width: 32px; height: 32px; font-size: 13.5px; border-radius: 9px; }
    .job-book-attach-label strong { font-size: 13px; }
    .job-book-attach-label small  { font-size: 11px; }
    .job-book-file-chip { padding: 9px 11px; border-radius: 11px; gap: 10px; }
    .job-book-file-chip-ico { width: 32px; height: 32px; font-size: 14px; }
    .job-book-file-chip-remove { width: 24px; height: 24px; font-size: 11px; }
    .job-book-file-chip-meta .jbf-name { font-size: 12.5px; }
    .job-book-file-chip-meta .jbf-size { font-size: 11px; }
}

