* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
}

body {
    background-color: #00529B;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 420px;
    margin: 0 auto;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

.header {
    text-align: center;
    padding: 30px 0;
}

.header h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}

.header p {
    color: #d0e4f5;
    font-size: 14px;
    margin-top: 6px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h2 {
    font-size: 18px;
    color: #004788;
    text-align: center;
    margin-bottom: 26px;
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    color: #444444;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d0d7e0;
    border-radius: 10px;
    font-size: 15px;
    background-color: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #0066B3;
    background-color: #ffffff;
}

.error-text {
    color: #d32f2f;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.btn-submit {
    width: 100%;
    background-color: #0066B3;
    color: #ffffff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.btn-submit:disabled {
    background-color: #94b8d4;
    cursor: not-allowed;
}

.btn-submit:hover:not(:disabled) {
    background-color: #00529B;
}

.btn-back {
    background: transparent;
    color: #0066B3;
    border: 1px solid #0066B3;
    margin-top: 12px;
}

.btn-back:hover {
    background: #f0f7ff;
}

.loading {
    display: none;
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: #0066B3;
}

.footer-note {
    margin-top: 20px;
    font-size: 12px;
    color: #b9d0e3;
    text-align: center;
    line-height: 1.6;
}

.otp-desc {
    text-align: center;
    color: #555;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.otp-box {
    width: 50px;
    height: 55px;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    border: 2px solid #d0d7e0;
    border-radius: 10px;
    background: #fafbfc;
}

.otp-box:focus {
    outline: none;
    border-color: #0066B3;
    background: #fff;
}

.resend-text {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

.resend-text a {
    color: #0066B3;
    text-decoration: none;
    font-weight: 500;
}

.success-icon {
    text-align: center;
    font-size: 60px;
    margin-bottom: 15px;
}

.success-text {
    text-align: center;
    color: #2e7d32;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.6;
}
