/* Custom styles for login modal */
.login-register-form .modal-dialog {
    max-width: 500px;
}

.login-register-form .modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #fff;
    position: relative;
}

.login-register-form .modal-header {
    border-bottom: none;
    padding: 1rem 1rem 0;
}

.login-register-form .modal-body {
    padding: 2rem;
}

/* Custom close button (X) */
.login-register-form .close {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 999;
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    opacity: 1;
    border-radius: 50%;
    font-size: 20px;
    color: #333;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    outline: none;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    line-height: 28px;
    text-align: center;
}

.login-register-form .close:hover {
    background-color: #e9ecef;
    transform: rotate(90deg);
}

.login-register-form .close:focus {
    outline: none;
}

.login-register-form .close span {
    position: relative;
    display: block;
    top: -1px;
}

/* Logo styles */
.login-register-form img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
}

/* Tabs styles */
.login-register-form .nav-pills {
    margin-bottom: 1.5rem;
}

.login-register-form .nav-pills .nav-link {
    border-radius: 20px;
    padding: 0.5rem 2rem;
    color: #6c757d;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-register-form .nav-pills .nav-link.active {
    background-color: #004274;
    color: white;
}

/* Form styles */
.login-register-form .form-control {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    height: auto;
}

.login-register-form .form-control:focus {
    border-color: #004274;
    box-shadow: 0 0 0 0.2rem rgba(125, 108, 238, 0.25);
}

/* Input group for OTP */
.login-register-form .input-group .form-control {
    margin-bottom: 0;
}

.login-register-form .input-group-append .btn {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background-color: #f8f9fa;
    color: #004274;
    border-color: #e0e0e0;
    font-weight: 500;
}

.login-register-form .input-group-append .btn:hover {
    background-color: #e9ecef;
}

/* Checkbox */
.login-register-form .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #004274;
    background-color: #004274;
}

.login-register-form .custom-checkbox .custom-control-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Login button */
.login-register-form .btn-primary {
    background-color: #004274;
    border-color: #004274;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.login-register-form .btn-primary:hover {
    background-color: #2f5e99;
    border-color: #2f5e99;
}

/* ID Tanphuland button */
.login-register-form .btn-outline-primary {
    color: #004274;
    border-color: #004274;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-register-form .btn-outline-primary:hover {
    background-color: #004274;
    color: white;
}

/* Register link */
.login-register-form .register-link {
    color: #004274;
    text-decoration: none;
    font-weight: 500;
}

.login-register-form .register-link:hover {
    text-decoration: underline;
}

/* Divider */
.login-register-form .text-muted {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
}

.login-register-form .text-muted:before,
.login-register-form .text-muted:after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
    margin: 0 10px;
} 