﻿
.auth-page-container {
    min-height: 100vh;
    padding: 100px 0 50px;
    background: #f5f5f5;
}

.auth-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.1);
    margin-bottom: 30px;
    border-top: 3px solid #8B0000;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-logo {
    text-align: center;
}

.auth-header h2 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 28px;
}

.auth-header p {
    color: #666;
    font-size: 15px;
}

.otp-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #8B0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .otp-icon i {
        font-size: 40px;
        color: white;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        font-weight: 500;
        color: #555;
        margin-bottom: 8px;
        display: block;
    }

        .form-group label i {
            margin-right: 5px;
            color: #8B0000;
        }

.form-control {
    height: 45px;
    border-radius: 5px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 15px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #8B0000;
        box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.15);
        outline: none;
    }

.phone-input-group .btn-verify {
    background: #8B0000;
    color: white;
    border: none;
    padding: 0 20px;
    height: 45px;
    border-radius: 0 5px 5px 0;
    white-space: nowrap;
    transition: all 0.3s;
}

    .phone-input-group .btn-verify:hover {
        background: #660000;
    }

.help-block {
    font-size: 13px;
    margin-top: 5px;
}

.otp-input {
    font-size: 32px;
    letter-spacing: 20px;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    height: 65px;
    font-family: monospace;
    border: 2px solid #ddd;
}

    .otp-input:focus {
        border-color: #8B0000;
        box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.15);
    }

.checkbox {
    margin: 15px 0;
}

    .checkbox label {
        font-weight: normal;
        color: #666;
        cursor: pointer;
    }

    .checkbox input[type="checkbox"] {
        margin-right: 8px;
        cursor: pointer;
    }

.btn-primary {
    background: #8B0000;
    border: none;
    height: 50px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 5px;
}

    .btn-primary:hover {
        background: #660000;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(139, 0, 0, 0.3);
    }

    .btn-primary:focus {
        background: #660000;
        box-shadow: 0 0 0 0.2rem rgba(139, 0, 0, 0.25);
        outline: none;
    }

    .btn-primary:active {
        background: #550000;
        transform: translateY(0);
    }

    .btn-primary i {
        margin-right: 8px;
    }

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

    .auth-footer p {
        color: #666;
        margin: 0;
    }

    .auth-footer a {
        color: #8B0000;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.3s;
    }

        .auth-footer a:hover {
            color: #660000;
            text-decoration: underline;
        }

.resend-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eee;
}

    .resend-section p {
        margin-bottom: 10px;
    }

    .resend-section .btn-link {
        color: #8B0000;
        font-weight: 500;
        text-decoration: none;
        padding: 8px 15px;
        transition: all 0.3s;
        background: transparent;
        border: none;
    }

        .resend-section .btn-link:hover {
            color: #660000;
            text-decoration: underline;
            background: rgba(139, 0, 0, 0.05);
            border-radius: 4px;
        }

        .resend-section .btn-link i {
            margin-right: 5px;
        }

.text-danger {
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.text-muted {
    color: #6c757d;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    border-left: 3px solid #dc3545;
}

    .alert-danger ul {
        margin: 0;
        padding-left: 20px;
    }

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: 30px 20px;
    }

    .auth-header h2 {
        font-size: 24px;
    }

    .otp-input {
        font-size: 28px;
        letter-spacing: 15px;
    }

    .otp-icon {
        width: 70px;
        height: 70px;
    }

        .otp-icon i {
            font-size: 35px;
        }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}


/* Checkout Redirect Alert */
.checkout-redirect-alert {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 1px solid #90caf9;
    color: #1565c0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .checkout-redirect-alert i {
        font-size: 20px;
    }