﻿body {
    background: #f7f9fc;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/* HERO SECTION */

.job-hero-main {
    background: linear-gradient(135deg, #0f172a, #1e40af, #2563eb);
    padding: 22px 40px; /* 🔽 height reduced */
    border-radius: 20px;
    color: white;
    /*box-shadow: 0 20px 60px rgba(37,99,235,0.35);*/
}

    .job-hero-main h1 {
        font-size: 42px;
        font-weight: 800;
        letter-spacing: -0.5px;
    }

    .job-hero-main p {
        font-size: 16px;
        opacity: 0.95;
    }


.hero-search {
    /*margin-left: 150px;*/
    display: flex;
    gap: 5px;
}

    .hero-search input {
        width: 320px; /* fixed width */
        padding: 14px 18px;
        border-radius: 50px;
        border: none;
        outline: none;
        /*font-size: 15px;*/
    }

    .hero-search button {
        padding: 14px 22px;
        border-radius: 999px;
        font-size: 15px;
        border: none;
        outline: none;
    }


/* FILTER */

.filter-box {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    position: sticky;
    top: 20px;
}

    .filter-box h5 {
        font-weight: 700;
    }

.filter-group {
    margin-top: 20px;
}

    .filter-group h6 {
        font-weight: 600;
    }

    .filter-group label {
        display: block;
        font-size: 14px;
        margin: 6px 0;
    }

/* JOB LIST */

.jobs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.job-card-pro {
    position: relative;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 28px;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
}

    .job-card-pro:hover {
        transform: translateY(-6px);
        box-shadow: 0 25px 50px rgba(0,0,0,0.12);
    }


/* LEFT */

.job-left {
    display: flex;
    gap: 20px;
}

.company-icon {
    background: #eef2ff;
    color: #1d4ed8;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 26px;
}

/* CONTENT */

.job-header-pro {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .job-header-pro h5 {
        font-size: 19px;
        font-weight: 700;
        line-height: 1.25;
    }


.badge.verified {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 12px;
}

.company-name {
    margin-top: 4px;
    font-size: 14px;
    color: #64748b;
}

.job-info-line {
    margin-top: 6px;
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: #64748b;
}

.job-desc {
    margin-top: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    max-width: 720px;
}

.salary {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #16a34a;
}


/* ACTION */

.job-actions-pro {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .job-actions-pro a {
        background: linear-gradient(135deg,#4f46e5,#6366f1);
        padding: 12px 22px;
        border-radius: 999px;
        font-weight: 700;
        box-shadow: 0 10px 25px rgba(79,70,229,.35);
    }

        .job-actions-pro a:hover {
            background: linear-gradient(135deg,#3730a3,#4f46e5);
        }


.btn-apply {
    background: #1d4ed8;
    color: white;
    border: none;
    border-radius: 30px;
    font-weight: 500;
    transition: 0.3s ease;
}

    .btn-apply:hover {
        background: #0f172a;
    }

/* PAGINATION */

.pagination-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 10px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    transition: 0.2s ease;
}

    .page-link:hover {
        background: #e2e8f0;
    }

    .page-link.active {
        background: #2563eb;
        color: white;
    }

.modern-pagination-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.modern-pagination {
    list-style: none;
    display: flex;
    flex-wrap: wrap; /* ✅ allow wrap */
    gap: 10px;
    padding: 0;
    margin: 0;
    justify-content: center; /* ✅ center items */
}



    .modern-pagination li a,
    .modern-pagination li span {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        border-radius: 12px;
        border: 1px solid #e2e8f0;
        font-weight: 600;
        font-size: 14px;
        color: #334155;
        background: white;
        text-decoration: none;
        transition: all 0.25s ease;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }

        .modern-pagination li a:hover {
            background: #4f46e5;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
        }

    .modern-pagination li.active span {
        background: linear-gradient(135deg, #4f46e5, #6366f1);
        color: white;
        border: none;
        box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
    }

    /* Prev / Next buttons */
    .modern-pagination li .prev,
    .modern-pagination li .next {
        min-width: auto;
        padding: 0 18px;
        border-radius: 50px;
        font-weight: 600;
    }

.page-info-wrapper {
    text-align: center;
    margin: 30px 0 10px 0;
}

.page-info-chip {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, #eef2ff, #f8fafc);
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}


/* Mobile responsive */
@media (max-width: 600px) {
    .modern-pagination {
        gap: 6px;
        justify-content: center;
    }

    .modern-pagination-wrapper {
    }

    .modern-pagination li a,
    .modern-pagination li span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .view-details-btn {
        top: 14px;
        right: 14px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .job-card-pro {
        flex-direction: column;
        gap: 18px;
    }

    .job-actions-pro {
        width: 100%;
    }

        .job-actions-pro a {
            width: 100%;
            text-align: center;
        }
}


.modern-pagination-wrapper
/* Auth css changes */
.auth-glass {
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg,#ffffff 0%,#f4f7ff 100%);
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.auth-pro-modal .form-control {
    height: 48px;
    border-radius: 10px;
    padding-left: 15px;
    font-size: 15px;
}

.auth-input {
    border: 1px solid #d9e1ff;
}

    .auth-input:focus {
        border: 1px solid #5b6cff;
        box-shadow: 0 0 0 2px rgba(91,108,255,0.1);
    }

.btn-gradient {
    background: linear-gradient(135deg,#5b6cff,#6b36ff);
    border: none;
    color: white;
    font-weight: 600;
    padding: 12px;
    border-radius: 10px;
    letter-spacing: .5px;
}

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

.tracking-wide {
    letter-spacing: 6px;
}

.invalid-feedback {
    display: none;
    font-size: 12px;
}

.is-invalid + .invalid-feedback {
    display: block;
}

.spinner-border {
    vertical-align: middle;
    margin-left: 8px;
}

/* Title Wrapper */
.job-title-text {
    display: block;
    max-width: 72%;
    white-space: normal;
    word-break: break-word;
    line-height: 1.15;
    font-size: 1rem;
}

/* Title Text */
.job-title-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* NEW BADGE */
.new-badge {
    background: linear-gradient(90deg,#6f42c1,#8b5cf6);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 6px 18px rgba(111,66,193,0.18);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    transform-origin: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

    .new-badge:hover {
        transform: translateY(-2px) scale(1.03);
        box-shadow: 0 10px 22px rgba(111,66,193,0.22);
    }


/* Smooth pop animation */
@keyframes popIn {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Job Tag */
.job-tags {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 600;
}

    .tag.highlight {
        background: linear-gradient(135deg,#22c55e,#16a34a);
        color: white;
    }

/* View Details - Top Right Button */

.view-details-btn {
    position: absolute;
    top: 22px;
    right: 22px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #4f46e5;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    transition: all 0.25s ease;
    z-index: 2;
}

    .view-details-btn:hover {
        background: linear-gradient(135deg, #4f46e5, #6366f1);
        color: #fff;
        box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
        transform: translateY(-2px);
    }

.seo-intro {
    max-width: 980px;
    margin: 0 auto 30px auto;
    padding: 0 10px;
}

    .seo-intro h2 {
        font-size: 22px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 10px;
    }

    .seo-intro p {
        font-size: 15px;
        line-height: 1.7;
        color: #475569;
    }

.job-help-section {
    max-width: 980px;
    margin: 60px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
}

    .job-help-section h2 {
        font-size: 20px;
        font-weight: 800;
        margin-bottom: 12px;
    }

    .job-help-section ul {
        padding-left: 18px;
        margin-bottom: 12px;
    }

    .job-help-section li {
        font-size: 14px;
        margin-bottom: 6px;
        color: #334155;
    }

