* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f4f9ff 0%, #dfeefb 40%, #c9dfe8 100%);
    color: #16324f;
}

.form-wrapper {
    width: 100%;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #dfeaf3;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(20, 56, 83, 0.12);
    padding: 35px 28px;
}

h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 15px;
    color: #123a5a;
}

p {
    font-size: 1.05rem;
    text-align: center;
    margin-bottom: 25px;
    color: #365a73;
    line-height: 1.6;
}

.account-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.password-hint {
    color: #a62b2b;
    font-size: 0.9rem;
    line-height: 1.4;
}

label {
    font-weight: 600;
    color: #234d6e;
}

input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #c9dfe8;
    background: #f9fcff;
    font-size: 1rem;
    color: #16324f;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus {
    outline: none;
    border-color: #2a6ea7;
    box-shadow: 0 0 0 3px rgba(42, 110, 167, 0.15);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

button,
.account-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1d5f8f, #0f3d63);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: 0 8px 20px rgba(15, 61, 99, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

button {
    cursor: pointer;
}

.account-link {
    background: linear-gradient(135deg, #729fc0, #4b7ca3);
    text-decoration: none;
}

button:hover,
.account-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 61, 99, 0.28);
}

button:active,
.account-link:active {
    transform: translateY(0);
}

button:focus-visible,
.account-link:focus-visible {
    outline: 3px solid #75b6ff;
    outline-offset: 3px;
}

button[type="reset"] {
    background: linear-gradient(135deg, #a0b8c8, #7a9bb3);
}

button[type="button"] {
    background: linear-gradient(135deg, #729fc0, #4b7ca3);
}

@media (max-width: 600px) {
    .form-wrapper {
        padding: 25px 18px;
    }

    .button-row {
        flex-direction: column;
    }

    button,
    .account-link {
        width: 100%;
    }
}
