/**
 * Swift Bank - Authentication Pages Styling
 */

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    background-image: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
}

.auth-wrapper {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 75%;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(0);
}

.auth-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.auth-header {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background-color: #fcfcfc;
}

.auth-header .logo img {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.auth-header .logo img:hover {
    transform: scale(1.05);
}

.auth-content {
    padding: 40px;
}

.auth-title {
    color: #012A2B;
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 16px;
}

.auth-form {
    margin-bottom: 20px;
}

.auth-form .form-group {
    margin-bottom: 25px;
}

.auth-form label {
    font-weight: 600;
    color: #012A2B;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.auth-form .form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 14px 18px;
    height: auto;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.auth-form .form-control:focus {
    border-color: #D9FF43;
    box-shadow: 0 0 0 0.2rem rgba(217, 255, 67, 0.25);
    transform: translateY(-2px);
}

.auth-form .btn {
    padding: 14px 24px;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.auth-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 14px rgba(0, 0, 0, 0.1);
}

.auth-form .btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -2;
}

.auth-form .btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: -1;
}

.auth-form .btn:hover:before {
    width: 100%;
}

.auth-form .form-text {
    font-size: 14px;
    color: #555;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 15px;
}

.auth-footer a {
    color: #012A2B;
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Form row styles for better layout */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.form-row > .form-group {
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 50%;
    max-width: 50%;
}

@media (max-width: 768px) {
    .auth-wrapper {
        max-width: 100%;
    }
    
    .form-row > .form-group {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .auth-content {
        padding: 30px 20px;
    }
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    font-weight: 500;
    font-size: 14px;
}

.password-strength.weak {
    color: #dc3545;
}

.password-strength.medium {
    color: #ffc107;
}

.password-strength.strong {
    color: #28a745;
}

/* OTP input styling */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.otp-inputs input {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 0 5px;
}

.otp-inputs input:focus {
    border-color: #D9FF43;
    box-shadow: 0 0 0 0.2rem rgba(217, 255, 67, 0.25);
}

.resend-otp {
    margin-top: 20px;
    text-align: center;
}

.timer {
    font-weight: bold;
    color: #012A2B;
}

/* Alert styling */
.alert {
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid transparent;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

/* Form check for terms & conditions */
.form-check {
    padding-left: 30px;
    position: relative;
    margin-top: 25px;
    margin-bottom: 25px;
}

.form-check-input {
    position: absolute;
    margin-top: 5px;
    margin-left: -25px;
    width: 18px;
    height: 18px;
}

.form-check-label {
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}

.form-check-label a {
    color: #012A2B;
    font-weight: 600;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}
