.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.focus {
    background-color: #043c62 !important;
    border-color: #043c62 !important;
    color: #fff !important;
}

/* Job Card */
.job-info-card .card-body {
    padding: 0 1.5rem;
}

/* Job Title */
.job-title {
    font-weight: 600 !important;
    color: #054b7a;
    font-size: 1.1rem !important;
    margin-bottom: 0.15rem;
}

/* Company Name */
.company-name {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

/* Blue Text Utility */
.text-blue {
    color: #0d6efd;
}

/* Icon Circle */
.icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #e7f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Job Details */
.job-details {
    margin-bottom: 1.5rem;
}

.job-details strong {
    font-size: 0.95rem;
    display: inline-block;
    margin-bottom: 0.2rem;
}

.job-details div {
    font-size: 0.9rem;
    color: #333;
}

/* Disclaimer Box */
.disclaimer-box {
    font-size: 0.85rem;
    background-color: #f9f9f9;
    border-left: 4px solid #054b7a;
    color: #555;
    padding: 1rem;
    border-radius: 0.75rem;
}

/* Interview Wrapper */

.text-question {
    color: #021828 !important;
    font-size: 0.8rem;
}

/* Section Title */
.section-title {
    font-weight: 600;
    color: #054b7a;
}

.question-list li {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Recorder Styles */
.recorder-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 1rem;
}

.countdown-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 1rem;
    z-index: 10;
}

.recorder-timer {
    position: absolute;
    top: 10px;
    right: 16px;
    background-color: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 5;
}

.btn-round {
    border-radius: 50px;
    padding: 0.4rem 1.2rem;
    font-size: 0.875rem;
}

.access-blocked {
    text-align: center;
}
.recent-activity-li {
  display: flex;
}
/* Responsive Adjustments */
@media (max-width: 576px) {
    .icon-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .company-name {
        font-size: 0.8rem;
    }

    .job-details strong {
        font-size: 0.9rem;
    }

    .job-details div {
        font-size: 0.85rem;
    }

    .icon-circle {
        min-width: auto !important;
    }

    .job-info-card .card-body {
        padding: 0 0.5rem !important;
    }

    .modal-custom-header {
        padding: 1.15rem 0.5rem !important;
    }

    .interview-vd-wrap {
        padding: 0 0.5rem !important;
    }

    .recorder-controls button {
        padding: 5px 10px !important;
        border: 2px solid transparent;
        border-radius: 30px;
        font-size: 12px !important;
        font-weight: bold;
        cursor: pointer;
    }
}

.job-info-card {
    background-color: #fff;
    border-radius: 1rem;
    /* box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05); */
    max-width: 100%;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem 0;
}

.company-name {
    font-size: 0.9rem;
    color: #6c757d;
}

.text-blue {
    color: #0d6efd;
}

.icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #e7f1ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.job-details strong {
    font-size: 0.95rem;
}

.job-details div {
    font-size: 0.8rem;
    color: #333;
}

@media (max-width: 576px) {
    .icon-circle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .job-title {
        font-size: 1.25rem;
    }

    .company-name {
        font-size: 0.8rem;
    }
}

.Disclaimer-wrap {
    margin-top: 2rem;
    position: relative;
}

.modal-custom-header {
    display: flex;
    flex-direction: column;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.75rem;
    border-top-right-radius: 0.75rem;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title-icon {
    background-color: #eef4ff;
    color: #054b7a;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.job-open-timing {
    width: 100%;
    max-width: 100%;
}

.job-timer-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.timer-text {
    text-align: left;
}

.timer-label {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.timer-countdown {
    font-weight: 600;
    font-size: 1rem;
    color: #212529;
}

.custom-progress {
    width: 100%;
    height: 6px;
    background-color: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
}

.custom-progress-bar {
    height: 100%;
    background-color: #054b7a;
    width: 100%;
    transition: width 0.4s ease;
}

.btn-close-position {
    margin-left: auto;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .modal-custom-header {
        flex-direction: row;
    }

    .btn-close-position {
        margin-top: 0;
    }

    .icon-circle {
        min-width: auto !important;
    }

    .job-info-card .card-body {
        padding: 0 0.5rem !important;
    }

    .modal-custom-header {
        padding: 1.15rem 0.5rem !important;
    }

    .interview-vd-wrap {
        padding: 0 0.5rem !important;
    }

    .recorder-controls button {
        padding: 5px 10px !important;
        border: 2px solid transparent;
        border-radius: 30px;
        font-size: 12px !important;
        font-weight: bold;
        cursor: pointer;
    }
}

.step {
    display: none;
}

.step.active {
    display: block;
}

#videoElement {
    width: 100%;
    height: auto;
    border-radius: 8px;
    background: #000;
}

.recorder-container {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 12px;
}

#timer {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.progress {
    height: 6px;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

.success-message {
    display: none;
    text-align: center;
}

.success-message.active {
    display: block;
}

/* --- Card Styles --- */
.job-card,
.company-card {
    background: #fff;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
    transition: box-shadow 0.3s ease;
}

/* .job-description-wrapper p {
    line-height: 24px;
} */

.job-description-wrapper h2,
.job-description-wrapper h3,
.job-description-wrapper h4,
.job-description-wrapper h5,
.job-description-wrapper h6 {
    font-size: 1.15rem !important;
    color: #054b7a !important;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-description-wrapper {
  list-style: none;
  /* padding: 0; */
}
.job-description-wrapper ul { 
        padding-left: 0;
}
.job-description-wrapper li {
  margin: 8px 0;
  font-size: 15px;
  position: relative;
  padding-left: 28px;
}

.job-description-wrapper li::before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    line-height: 16px;
    border-radius: 50%;
    background: #0a609a;
    color: #fff;
    font-size: 8px;
    text-align: center;
}

.job-card h4,
.company-card h4 {
    font-size: 1.15rem !important;
    color: #054b7a !important;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.job-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.job-card ul li {
    display: flex;
    align-items: start;
}

.interview-vd-wrap {
    background-color: #fff;
    border-radius: 1.5rem;
    max-width: 900px;
    padding: 0 1.5rem;
    border: none;
}

/* --- Avatar --- */
.avatar-lg {
    width: 70px;
    height: 70px;
}

/* --- Typography --- */

.company-name,
.job-location {
    font-size: 0.8rem;
}

.posted-time {
    font-size: 0.75rem;
    color: #6c757d;
    text-align: right;
    margin-top: 1rem;
}

/* --- Buttons --- */
.btn-outline-primary {
    /* padding: 10px 20px; */
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.text-success {
    color: rgb(25 135 84) !important;
}

.btn-custom {
    font-size: 0.85rem;
    padding: 6px 16px;
}

.save-btn {
    font-size: 0.875rem;
}

/* --- Skill Tags --- */
.skill-tags .badge {
    font-size: 13px;
    background: #e0f2fe;
    color: #0369a1;
}

/* --- Widget Titles --- */
.widget-title {
    font-weight: 600;
    font-size: 15px;
    color: #334155;
}

/* --- CTA Bar --- */
.cta-bar {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
}

.cta-bar button i {
    vertical-align: middle;
}

.cta-bar small {
    font-size: 0.875rem;
}

/* --- Job Post Hover --- */
.job-post {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease-in-out, box-shadow 0.3s ease;
}

.job-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

/* --- Swiper --- */
.swiper-slide {
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
    color: #054b7a;
}

/* --- Video Popup Button --- */
.btn-watch {
    font-weight: 600;
    font-size: 1.25rem;
    padding: 0.75rem 2rem;
    border-radius: 40px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    box-shadow: 0 6px 15px rgb(0 242 254 / 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-watch:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgb(0 242 254 / 0.6);
    color: #fff;
}

.btn-watch i {
    font-size: 1.2rem;
    vertical-align: middle;
}

/* --- Modal --- */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    border-radius: 20px !important;
    padding: 0.8rem;
    background: #fff;
    /* box-shadow: 0 6px 20px rgba(31, 38, 135, 0.37),
        inset 0 -3px 8px rgba(58, 56, 64, 0.3); */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1),
        inset 0 -2px 6px rgba(0, 0, 0, 0.05);

    transition: all 0.4s ease;
    overflow-y: auto;
}

/* --- Video Recorder --- */
.recorder-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 100%;
    padding: 15px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #0435562e;
}

#videoElement {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 12px;
    background: #000;
}

.recorder-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
}

#timer {
    position: absolute;
    top: 15px;
    right: 20px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    margin: 10px 0;
}

/* #countdownOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 10px;
    z-index: 10;
} */

.progress {
    height: 8px;
    margin-top: 10px;
}

.hidden {
    display: none !important;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* --- Footer --- */
.footer-wrap {
    padding: 3rem 0 1rem;
    background: #202942 !important;
    color: #f9f9f9;
    line-height: 28px;
    font-size: 0.9rem;
}

/* --- Interview Questions --- */
.questions-wrap .btn-close {
    width: 25px;
    height: 25px;
    opacity: 1 !important;
    border-radius: 50px;
    border: 1px solid #546e7a;
    font-size: 10px;
    margin: 10px 10px 0 0 !important;
    color: #fff !important;
    transition: opacity 0.3s ease;
}

.questions-wrap .btn-close:hover {
    opacity: 1;
    filter: drop-shadow(0 0 2px #4facfe);
}

.questions-wrap video {
    width: 100%;
    max-height: 300px;
    border-radius: 16px;
    border: 5px solid #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
    transition: box-shadow 0.3s ease;
}

.questions-wrap video:hover {
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px,
        rgba(0, 0, 0, 0.05) 0px 5px 10px;
}

.questions-wrap .candidate-name {
    font-size: 1rem;
    font-weight: 600;
    color: #054b7a;
}

.questions-wrap .candidate-detail {
    font-weight: 500;
    color: #8492b5;
    margin: 5px 0;
}

.questions-wrap .text-role {
    font-size: 0.85rem;
    font-weight: 500;
    color: #222;
}

.questions-wrap h5 {
    font-weight: 600;
    color: #054b7a;
    margin-bottom: 1rem;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

.questions-wrap ol {
    padding-left: 1.2rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.15;
}

.questions-wrap ol li {
    margin-bottom: 0.8rem;
}

.action-btn-wrap {
    display: flex;
    gap: 15px;
    align-items: center;
}

.questions-wrap .action-btn {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 50px;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.questions-wrap .action-btn i {
    font-size: 1.3rem;
}

.questions-wrap .btn-accept {
    background: #4caf50;
    color: white;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    border: none;
}

.questions-wrap .btn-accept:hover {
    background: #43a047;
    box-shadow: 0 8px 20px rgba(67, 160, 71, 0.6);
    transform: translateY(-3px);
}

.questions-wrap .btn-wishlist {
    background: #054b7a;
    color: white;
    box-shadow: 0 5px 15px rgba(96, 125, 139, 0.4);
    border: none;
}

.questions-wrap .btn-wishlist:hover {
    background: #546e7a;
    box-shadow: 0 8px 20px rgba(84, 110, 122, 0.6);
    transform: translateY(-3px);
}

.questions-wrap .btn-reject {
    background: #f44336;
    color: white;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.4);
    border: none;
}

.questions-wrap .btn-reject:hover {
    background: #e53935;
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.6);
    transform: translateY(-3px);
}

.modal-action-button {
    max-width: 500px;
    margin: 0 auto;
}

.custom-file-label {
    cursor: pointer;
}

/* add success modal */
.success-modal-content {
    border-radius: 1rem !important;
    border: none;
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    padding: 0;
}

.success-modal-header {
    background: linear-gradient(135deg, #198754, #70e000);
    color: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1rem 1.5rem;
}

.success-modal-content .modal-body {
    padding: 2rem;
}

.success-modal-content .modal-footer {
    padding: 1.25rem;
}

.success-modal-content .form-control[readonly] {
    background-color: #f9f9f9;
    border-color: #dee2e6;
    font-weight: 500;
}

.success-modal-content .form-label {
    font-weight: 600;
    color: #333;
}

.btn-success {
    background: linear-gradient(135deg, #198754, #70e000);
    border-color: #38b000 !important;
}

.btn-success:hover {
    background-color: #2d8d00;
    border-color: #2d8d00;
}

.alert-light {
    font-size: 0.95rem;
    border-color: #f1f5f9 !important;
    padding: 1rem;
    border-radius: 50px;
}

.modal .display-4 {
    font-size: 3.5rem;
}

/* --- Responsive: Mobile Optimizations --- */
@media (max-width: 768px) {
    .recorder-container {
        display: flex;
        flex-direction: column;
        width: 100vw;
        max-width: 100%;
        background: #fff;
        color: #000;
        /* Adjusted for visibility on white bg */
        padding: 8px;
        border-radius: 10px;
        box-shadow: var(--bs-box-shadow-sm) !important;
    }

    .recorder-controls {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-top: 0 !important;
    }

    .recorder-controls .btn-outline-primary {
        /* background: white;
        border-color: grey;
        color: grey; */
        padding: 5px 10px !important;
        font-size: 12px !important;
    }

    .recorder-controls {
        background-color: #fff;
        padding: 10px;
    }

    #timer {
        background: #111;
        padding: 8px 15px;
        color: #fff;
        font-size: 12px !important;
    }

    .questions-wrap .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .questions-wrap .candidate-name {
        font-size: 0.8rem;
    }

    .questions-wrap .candidate-detail,
    .questions-wrap .text-role {
        font-size: 0.8rem;
    }

    .questions-wrap h5 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .questions-wrap .action-btn {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .action-btn-wrap {
        display: grid;
    }

    #videoElement {
        height: 220px;
    }

    .btn-100 {
        width: 100%;
    }
}

.job-timer-wrapper {
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    border: 1px solid #e3e6ea;
}

.text-sm-12 {
    font-size: 0.8rem;
}

.text-blue {
    color: #054b7a !important;
}

.custom-close-btn {
    width: 30px;
    height: 30px;
    background-color: #054b7a;
    /* red background */
    color: white;
    font-size: 1.2rem;
    line-height: 1;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 99;
    right: 5px !important;
    top: 5px !important;
}

.custom-close-btn:hover {
    background-color: #02304e;
    /* darker red on hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.custom-close-btn i {
    font-size: 1rem;
    color: white;
}

.modal-job-title {
    font-size: 1.1rem !important;
    color: #054b7a;
    font-weight: 700 !important;
    margin-bottom: 0;
}

.border-radius-50p {
    border-radius: 50px !important;
}

.modal-action-button {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem !important;
}
@media (max-width: 991px) {
    #topnav {
        background-color: #fff;
        box-shadow: 0 0 3px rgba(30, 41, 59, 0.15);
        min-height: auto;
        padding: .5rem 0 !important;
    }
    #topnav .navbar-toggle .lines {
    width: 25px;
    display: block;
    position: relative;
    margin: 10px !important;
    height: 18px;
}
    .bg-half {
        padding: 80px 0 60px;
        height: auto;
    }
}