/* =========================
   HEADER / NAVBAR SAFE FIX
   ========================= */

#header {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: 1055;
}

#header .navbar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 1056;
}

#header .navbar-collapse {
    z-index: 1057;
}

@media (max-width: 991.98px) {
    #header {
        position: relative;
        z-index: 1055;
    }

    #header .navbar {
        min-height: 64px;
    }

    #header .navbar-collapse {
        background: #212529;
        padding: 12px;
        border-radius: 10px;
        margin-top: 8px;
    }
}

.hero-section {

    padding: 40px;

}

.worker-card {

    padding: 25px;

    border-radius: 10px;

    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);

}

.avatar {

    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: orange;

    margin: auto;
    margin-bottom: 10px;

}

.signin-modal {
    border-radius: 20px;
    overflow: hidden;
}

.welcome-panel {
    background: #c7b1b1;
    padding: 60px;
}

.welcome-title {
    font-size: 60px;
    font-weight: 700;
}

.emoji {
    font-size: 80px;
    margin: 60px 0;
    color: red;
}

.register-text {
    margin-top: 100px;
    font-weight: 600;
}

.code-box {
    width: 80px;
    border-radius: 20px;
}

.phone-box {
    border-radius: 20px;
}

.capture-box {
    border-radius: 20px;
    letter-spacing: 5px;
    font-weight: 600;
}

.capture-input {
    border-radius: 20px;
}

.send-btn {
    background: #ff5a00;
    color: white;
    border-radius: 20px;
    padding: 10px 25px;
}

#contractor-form {
    background: #f2f2f2;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
}

#contractor-form {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contractor-container {
    padding-right: 10px;
}

@media (min-width: 992px) {
    .contractor-container {
        max-height: 80vh;
        overflow-y: auto;
    }
}

@media (max-width: 991.98px) {
    .contractor-container {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }
}

/* .navbar .nav-link {
    transition: all 0.3s ease;
    font-size: 18px;
}

.navbar .nav-link:hover {
    color: #ffc107 !important;
    text-decoration: underline;

} */

.nav-link.active {
    color: #ffc107 !important;
    font-weight: 600;
    border-bottom: 2px solid #ffc107;
    box-shadow: #ffc107 0px 2px 5px;
}

.nav-link i {
    font-size: 18px;
    margin-right: 6px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-warning {
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-warning:hover {
    background-color: #e0a800;
    transform: scale(1.05);
}


/* .btn-warning:hover {
    transform: translateY(-1px);
    transition: 0.2s ease;
} */

/* =========================
   PAGE-SPECIFIC OVERRIDES
   ========================= */

/* .contractor-page #nearby {
    display: none !important;
}

.contractor-page #hero {
    display: none !important;
} */

/* remove gap */
.contractor-page #map {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 🔥 Fix extra space for labour page */
/* .labour-page #map {
    min-height: auto !important;
    height: auto !important;
} */

/* earlier */
.labour-page #map,
.contractor-page #map,
.approver-page #map {
    min-height: unset;
}

.contractor-page #map,
.labour-page #map,
.approver-page #map {
    height: auto !important;
    min-height: auto !important;
}