﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f7fa;
    color: #172033;
}

.account-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient( 135deg, #f5f7fa 0%, #eef2f7 100% );
}

.account-card {
    width: 100%;
    max-width: 450px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9edf2;
}

.register-card {
    max-width: 500px;
}

.account-logo {
    text-align: center;
    margin-bottom: 20px;
}

    .account-logo img {
        width: 76px;
        height: 76px;
        object-fit: cover;
        border-radius: 50%;
        border: 4px solid #f0f2f5;
    }

.account-card h1 {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.account-subtitle {
    text-align: center;
    color: #727b8a;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 18px;
}

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #293244;
    }

    .form-group input {
        width: 100%;
        height: 48px;
        border: 1px solid #dce1e8;
        border-radius: 10px;
        padding: 0 15px;
        outline: none;
        font-family: inherit;
        font-size: 14px;
        transition: 0.2s;
    }

        .form-group input:focus {
            border-color: #172033;
            box-shadow: 0 0 0 3px rgba(23, 32, 51, 0.08);
        }

.remember-row {
    margin: 5px 0 20px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #667085;
}

    .remember input {
        width: 16px;
        height: 16px;
    }

.account-btn {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 10px;
    background: #172033;
    color: white;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}

    .account-btn:hover {
        background: #293653;
        transform: translateY(-1px);
    }

.account-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
    color: #98a2b3;
    font-size: 13px;
}

    .account-divider::before,
    .account-divider::after {
        content: "";
        height: 1px;
        background: #e6e9ee;
        flex: 1;
    }

.register-text {
    text-align: center;
    font-size: 14px;
    color: #667085;
}

    .register-text a {
        color: #172033;
        font-weight: 700;
        text-decoration: none;
    }

        .register-text a:hover {
            text-decoration: underline;
        }

.back-home {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #667085;
    font-size: 13px;
    text-decoration: none;
}

    .back-home:hover {
        color: #172033;
    }

.validation-summary {
    color: #dc3545;
    background: #fff5f5;
    border: 1px solid #ffd6d6;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 18px;
    font-size: 13px;
}

.validation {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

@media (max-width: 500px) {

    .account-page {
        padding: 20px 15px;
    }

    .account-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

        .account-card h1 {
            font-size: 26px;
        }
}

.otp-email {
    text-align: center;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 25px;
    word-break: break-word;
}

.otp-input {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 10px;
}

.success-message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    text-align: center;
    font-size: 14px;
}

.error-message {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fef2f2;
    color: #dc2626;
    text-align: center;
    font-size: 14px;
}

.resend-form {
    margin-top: 12px;
}

.resend-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #2563eb;
    border-radius: 8px;
    color: #2563eb;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .resend-btn:hover {
        background: #eff6ff;
    }