/* ===== MODAL OVERLAY ===== */
.modal {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

/* ===== MODAL CONTAINER ===== */
#modelcontent {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: none;
    overflow: hidden;
}

/* ===== HEADER ===== */
.modal-header {
    background: #f7f9fc;
    border-bottom: 1px solid #e6ebf2;
    padding: 16px 22px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #014E80;
    letter-spacing: 0.3px;
}

/* ===== CLOSE ICON ===== */
.modal-header img {
    filter: none;
    opacity: 0.7;
    transition: all 0.2s ease;
}

.modal-header img:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== FORM BODY ===== */
.traval {
    background: #ffffff;
    padding-top: 10px;
}

/* ===== LABELS ===== */
.traval label {
    font-size: 13px;
    font-weight: 600;
    color: #42526e;
    margin-bottom: 4px;
}

/* ===== INPUTS ===== */
.traval .form-control,
.traval select {
    background: #ffffff;
    border: 1px solid #dfe1e6;
    color: #172b4d;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    transition: all 0.25s ease;
}

.traval .form-control::placeholder {
    color: #97a0af;
}

.traval .form-control:focus,
.traval select:focus {
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
    outline: none;
}

/* ===== BUTTON (NAUKRI STYLE) ===== */
.traval .btn-primary {
    background: #014E80;
    border: none;
    font-weight: 600;
    padding: 10px 40px;
    border-radius: 30px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.traval .btn-primary:hover {
    background: #010a13;
    transform: translateY(-1px);
}

/* ===== ERROR MESSAGE ===== */
.traval h4 {
    font-size: 14px;
    font-weight: 600;
    color: #d93025;
}

/* ===== LOGIN BUTTON INSIDE ERROR ===== */
.traval .btn {
    font-size: 13px;
    border-radius: 20px;
    padding: 5px 14px;
}

/* ===== SELECT DROPDOWN ===== */
.traval select {
    cursor: pointer;
}

/* ===== MOBILE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 12px;
    }

    .modal-title {
        font-size: 18px;
    }
}


/* ===== LOGIN MODAL OVERLAY ===== */
#exampleModal.modal {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

/* ===== LOGIN MODAL CONTENT ===== */
#exampleModal .modal-content {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    border: none;
    overflow: hidden;
}

/* ===== LOGIN HEADER ===== */
#exampleModal .modal-header {
    background: #f7f9fc;
    border-bottom: 1px solid #e6ebf2;
    padding: 16px 22px;
}

#exampleModal .modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #014E80;
}

/* ===== CLOSE ICON ===== */
#exampleModal .modal-header img {
    opacity: 0.7;
    transition: all 0.2s ease;
}

#exampleModal .modal-header img:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* ===== BODY ===== */
#exampleModal .modal-body {
    padding: 22px;
}

/* ===== LABELS ===== */
#exampleModal label {
    font-size: 13px;
    font-weight: 600;
    color: #42526e;
    margin-bottom: 4px;
}

/* ===== INPUTS ===== */
#exampleModal .form-control {
    background: #ffffff;
    border: 1px solid #dfe1e6;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #172b4d;
    transition: all 0.25s ease;
}

#exampleModal .form-control::placeholder {
    color: #97a0af;
}

#exampleModal .form-control:focus {
    border-color: #0a66c2;
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
    outline: none;
}

/* ===== LOGIN BUTTON ===== */
#exampleModal .btn-primary {
    background: #014E80;
    border: none;
    font-weight: 600;
    padding: 10px 40px;
    border-radius: 30px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#exampleModal .btn-primary:hover {
    background: #040c14;
    transform: translateY(-1px);
}

/* ===== FORGOT PASSWORD ===== */
#exampleModal a.text-danger {
    color: #0a66c2 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

#exampleModal a.text-danger:hover {
    text-decoration: underline;
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    #exampleModal .modal-dialog {
        margin: 12px;
    }

    #exampleModal .modal-title {
        font-size: 18px;
    }
}