.account-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 140px 20px 80px;
    min-height: 70vh;
    background: var(--background, #efefed);
}

.account-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    padding: 36px 34px;
    border-radius: var(--border-radius-s, 8px);
    box-shadow: 0 10px 30px rgba(22, 12, 85, 0.12);
}

.account-card h1 {
    font-size: 1.7rem;
    color: var(--purple-dark, #140c49);
    margin-bottom: 6px;
    text-align: center;
}

.account-card .account-subtitle {
    text-align: center;
    color: #606770;
    font-size: 0.98rem;
    margin-bottom: 26px;
}

.account-form {
    display: flex;
    flex-direction: column;
}

.account-form label {
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold, 600);
    color: var(--purple-dark, #140c49);
    margin-bottom: 6px;
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d9d9e3;
    border-radius: var(--border-radius-s, 8px);
    font-size: 1rem;
    margin-bottom: 18px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-form input:focus {
    outline: none;
    border-color: var(--text-highlight, #2312BA);
    box-shadow: 0 0 0 3px rgba(35, 18, 186, 0.12);
}

.account-form .required-label::after {
    content: " *";
    color: #d32f2f;
}

.account-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.account-checkbox input {
    width: auto;
    cursor: pointer;
}

.account-checkbox label {
    margin-bottom: 0;
    font-weight: var(--font-weight-normal, 400);
    cursor: pointer;
}

.account-btn {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: var(--border-radius-l, 50px);
    background: linear-gradient(135deg, #0c0058, #240099);
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: var(--font-weight-semibold, 600);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.05s ease;
}

.account-btn:hover { opacity: 0.92; }
.account-btn:active { transform: translateY(1px); }
.account-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.account-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.account-links a {
    color: var(--text-highlight, #2312BA);
    text-decoration: none;
}

.account-links a:hover { text-decoration: underline; }

.g-recaptcha {
    margin-bottom: 18px;
}

/* messages */
.form-message {
    padding: 11px 14px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 0.93rem;
    display: none;
}

.form-message-error {
    background-color: #ffe6e6;
    color: #b71c1c;
    border: 1px solid #f5c2c2;
}

.form-message-success {
    background-color: #e7f6ec;
    color: #1b5e20;
    border: 1px solid #b7e0c2;
}

.field-hint {
    font-size: 0.82rem;
    color: #8a8a99;
    margin: -12px 0 16px;
}
