/* ====== Base Styles ====== */
:root {
    --primary-color: #4361ee;
    --primary-light: #e6ecfe;
    --secondary-color: #3f37c9;
    --success-color: #4cc9f0;
    --danger-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --border-color: #e9ecef;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fb;
}

/* ====== Auth Background ====== */
.auth-bg-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0179c3 0%, #00a8ff 100%);
}
.otp-input {
    height: 60px;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

    .otp-input:focus {
        border-color: #0179c3;
        box-shadow: 0 0 0 0.25rem rgba(1, 121, 195, 0.25);
    }

.input-group-text {
    min-width: 45px;
    justify-content: center;
}
.login-type-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.change-account-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    cursor: pointer;
    z-index: 5;
}
.auth-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ====== Form Styles ====== */
.auth-form {
    background-color: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .auth-form:hover {
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    }

.logo-wrapper {
    width: 180px;
}

/* ====== Input Styles ====== */
.form-control {
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
    }

.otp-input {
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
}

    .otp-input:focus {
        border-color: var(--primary-color);
        box-shadow: none;
    }

    .otp-input.is-invalid {
        border-color: #dc3545;
        background-image: none;
        padding-right: 0.75rem;
    }

/* ====== Button Styles ====== */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem;
    font-weight: 500;
}

    .btn-primary:hover {
        background-color: var(--secondary-color);
        border-color: var(--secondary-color);
        transform: translateY(-1px);
    }

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
    padding: 0.75rem;
    font-weight: 500;
}

/* ====== Icon Styles ====== */
.icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

/* ====== Animation Styles ====== */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* ====== Responsive Styles ====== */
@media (max-width: 992px) {
    .auth-bg-section {
        display: none !important;
    }

    .auth-form {
        padding: 2rem !important;
    }
}

@media (max-width: 576px) {
    .otp-input {
        width: 45px !important;
        height: 50px !important;
        font-size: 1.25rem !important;
    }
}
/* For dark backgrounds */
.logo-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Or add a white border around the logo */
.logo-border {
    padding: 0.5rem;
    background-color: white;
    border-radius: 0.25rem;
}