/* Modern Gradient Background */
.auth-bg {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    overflow-x: hidden;
}

/* Auth Card */
.auth-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 95vh;
    overflow-y: auto;
}

/* Left Panel */
.auth-illustration {
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Circular Elements */
.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -50px;
    background: rgba(255, 255, 255, 0.05);
}

/* Form Styling */
.auth-form {
    padding: 2rem;
}

.auth-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.auth-subtitle {
    color: #7f8c8d;
    margin-bottom: 2px;
}

.form-control {
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    height: calc(2.5em + 0.75rem + 2px);
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #4b6cb7;
    box-shadow: 0 0 0 0.2rem rgba(75, 108, 183, 0.25);
}

/* Input Group */
.input-group-text {
    background: transparent;
    border-left: none;
    cursor: pointer;
}

.input-group .form-control {
    border-right: none;
}

.input-group .input-group-text {
    border: 2px solid #e1e8ed;
    border-left: none;
    border-radius: 0 10px 10px 0;
}

/* Buttons */
.btn-primary {
    background: #2c3e50;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #1a252f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Links */
.auth-link {
    color: #4b6cb7;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: #3a56a7;
    text-decoration: underline;
}

/* OTP Input */
.otp-input-group {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
}

.otp-input {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 1.2rem;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    margin: 0 5px;
}

.otp-input:focus {
    border-color: #4b6cb7;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
    }
    
    .auth-illustration {
        padding: 2rem 1.5rem;
    }
    
    .auth-form {
        padding: 2rem 1.5rem;
    }
    
    .otp-input {
        width: 40px;
        height: 40px;
    }
}
