/* ================================
   JOB OPENINGS PAGE
================================ */

.nmims-jobs-wrapper {
    max-width: 0px;
    margin: 40px auto;
    padding: 0 1px;
    font-family: "Inter", Arial, sans-serif;
}

/* Header */
.nmims-jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}
/* ===============================
   MULTI SELECT JOB CATEGORY
================================ */

.nmims-multiselect {
    width: 100%;
    min-height: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}

.nmims-multiselect option {
    padding: 6px;
}

.nmims-help {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 6px;
}


/* Search & Filters */
.nmims-jobs-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 1px 0px 50px 0px;
    align-items: center;
}

.nmims-jobs-filters select,
.nmims-jobs-filters input {
    padding: 9px 10px;
    font-size: 14px;
    min-width: 201px;
}

.nmims-jobs-filters .job-search {
    min-width: 70px;
}

.nmims-jobs-filters .filter-btn {
    background: #002f67;
    color: #fff;
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    border-radius: 0px;
}
.nmims-jobs-filters .filter-btn:hover {
    background: #000;   /* hover background */
    color: #fff;        /* hover text color */
}
.nmims-jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Add Job Button */
.nmims-add-job-btn {
    background: #000;
    color: #fff;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.nmims-add-job-btn:hover {
    background: #222;
}
.nmims-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.nmims-popup {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 420px;
}

.nmims-popup h2 {
    margin-bottom: 10px;
    color: #1f4fd8;
}

.nmims-popup p {
    font-size: 15px;
    margin-bottom: 10px;
}

.redirect-text {
    font-size: 13px;
    color: #666;
}

/* ================================
   JOB GRID
================================ */

.nmims-jobs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Job Card */
.nmims-job-card {
    border: 1px solid #c5c5c5;
    border-radius: 0px;
    padding: 22px;
    background: #fff;
    transition: all 0.25s ease;
}

.nmims-job-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.nmims-job-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #111;
    line-height: 24px;
}

.nmims-job-card p {
    font-size: 16px;
    margin-bottom: 8px;
    color: #444;
}

.nmims-job-card a {
    display: inline-block;
    margin-top: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #000 !important;
    text-decoration: none !important;
}

.nmims-job-card a:hover {
    text-decoration: underline;
}
.si-entry ul {
    margin-bottom: 10px!important;
    margin-top: 0px!important;
}
.si-container {
    max-width: 80% !important;
    padding: 0px!important;
}
.si-entry p {
    margin-bottom: 10px !important;
    margin-top: 5px !important;
}

/* ================================
   FRONTEND JOB FORM
================================ */

.nmims-job-form {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 0px;
    border: 1px solid #eee;
}

.nmims-job-form input,
.nmims-job-form textarea,
.nmims-job-form select {
    width: 100%;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.nmims-job-form textarea {
    min-height: 120px;
}

.nmims-job-form button {
    background: #000;
    color: #fff;
    padding: 14px 26px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.nmims-job-form button:hover {
    background: #222;
}

/* ================================
   DUMMY LOGIN
================================ */

.nmims-dummy-login {
    max-width: 500px;
    margin: 80px auto;
    text-align: center;
    border: 1px solid #c9c9c9;
    padding: 40px;
    border-radius: 0px;
}

.nmims-dummy-login h2 {
    margin-bottom: 10px;
}

.nmims-dummy-login p {
    color: #555;
    margin-bottom: 20px;
}

.nmims-dummy-login .button {
    display: inline-block;
    background: #043168;
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 0px;
    text-decoration: none;
}

.nmims-dummy-login .button:hover {
    background: #222;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .nmims-jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .nmims-jobs-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nmims-jobs-grid {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   SINGLE JOB PAGE LAYOUT
================================ */

.nmims-job-container {
    max-width: 80%;
    margin: 80px auto;
    padding: 0 0px;
}
.page-header.si-has-page-title.si-has-breadcrumbs {
    display: none;
}
.nmims-job-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* LEFT CONTENT */
.nmims-job-details h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.company-name {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.job-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

.job-highlights span {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 0px;
}

/* CONTENT SECTIONS */
.nmims-job-details section {
    margin-bottom: 30px;
}

.nmims-job-details h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* RIGHT APPLY FORM */
.nmims-job-apply {
    border: 1px solid #e5e5e5;
    padding: 25px;
    border-radius: 0px;
    background: #fafafa;
    position: sticky;
    top: 120px;
}

.nmims-job-apply h3 {
    margin-bottom: 20px;
}

/* APPLY FORM */
.nmims-apply-form label {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.nmims-apply-form input,
.nmims-apply-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.nmims-apply-form textarea {
    min-height: 100px;
}

.nmims-apply-form button {
    width: 100%;
    padding: 12px;
    background: #042f69; /* NMIMS-style blue */
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

.nmims-apply-form button:hover {
    background: #000;
}

/* ===============================
   ADD JOB CTA FIX
================================ */

.nmims-job-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.nmims-add-job-btn {
    background: #1f4fd8;
    color: #fff;
    padding: 12px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
}

.nmims-add-job-btn:hover {
    background: #163fa8;
}
.nmims-add-job-btn1 {
    background: #002f67;
    color: #fff !important;
    padding: 12px 20px;
    border-radius: 0px;
    text-decoration: none;
    font-weight: 500;
}

.nmims-add-job-btn1:hover {
    background: #000;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nmims-job-layout {
        grid-template-columns: 1fr;
    }

    .nmims-job-apply {
        position: relative;
        top: auto;
    }
}

/* =========================
   FRONTEND JOB FORM STYLES
========================= */

.nmims-job-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 0px;
    border: 1px solid #bbbbbb;
}

.nmims-job-form input,
.nmims-job-form textarea,
.nmims-job-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 0px;
    font-size: 14px;
}

.nmims-job-form textarea {
    min-height: 100px;
}

.nmims-job-form label {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* ROW FOR DATE + LOCATION */
.nmims-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.nmims-form-col {
    flex: 1;
}

/* SUBMIT BUTTON */
.nmims-job-form button {
        background: #022f66;
    color: #fff;
    padding: 12px 26px;
    border: none;
    border-radius: 0px;
    font-weight: 500;
    cursor: pointer;
}

.nmims-job-form button:hover {
    background: #000;
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .nmims-form-row {
        flex-direction: column;
    }
    .nmims-job-cta {
    display: inline-block;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.si-container {
    max-width: 95% !important;
    padding: 0px !important;
}
input[type=text] {
    width: 100% !important;
    border: 1px solid #d1d1d1;
}
.nmims-jobs-filters select {
    padding: 9px 10px;
    font-size: 16px;
    width: 100%;
}
#job_category {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
#job_location {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}

.nmims-add-job-btn1 {
        display: inline-block;   /* ensures margin works */
        margin-top: 15px;        /* adjust space as needed */
    }
select[name="job_type"] {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
select[name="job_mode"] {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
select[name="experience"] {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
select[name="salary"] {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
select[name="qualification"] {
    padding: 12px 14px;
    font-size: 16px;   /* IMPORTANT for mobile */
    border: 1px solid #ccc;
    border-radius: 0;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}
.nmims-job-container {
    max-width: 90%;
    margin: 30px auto;
    padding: 0 0px;
}
.job-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}
aside.nmims-job-apply {
    margin-bottom: 35px;
}
.nmims-jobs-wrapper {
    max-width: 0px;
    margin: 40px auto;
    padding: 0 10px;
    font-family: "Inter", Arial, sans-serif;
}
.nmims-job-cta, h2 {
    margin-top: 0px;
}
}

.nmims-auth-container {
    max-width: 380px;
    margin: 80px auto;
    background: #fff;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    text-align: center;
}

.nmims-auth-container h2 {
    margin-bottom: 10px;
}

.nmims-auth-container p {
    color: #666;
}

.nmims-auth-form input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
}

.nmims-auth-form button,
.auth-btn {
    width: 100%;
    padding: 12px;
    background: #1a3c8f;
    color: #fff;
    border: none;
    margin-top: 10px;
    font-weight: 600;
    cursor: pointer;
}

.auth-btn {
    display: inline-block;
    text-decoration: none;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 10px 0;
}

.auth-switch {
    margin-top: 15px;
    font-size: 14px;
}

.nmims-error {
    color: #d63638;
    margin-bottom: 10px;
}

.nmims-success {
    color: #0a8a3a;
    margin-bottom: 15px;
}



