.aqs-auth-container,
.aqs-dashboard {
    max-width: 480px;
    margin: 32px auto;
    padding: 28px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 36, 50, 0.12);
    color: #16323d;
}

.aqs-dashboard {
    max-width: 760px;
}

.aqs-auth-container h2,
.aqs-dashboard h2,
.aqs-dashboard h3 {
    margin-top: 0;
    color: #0f2f3a;
}

.aqs-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.aqs-auth-form label {
    font-weight: 600;
}

.aqs-auth-form input[type="text"],
.aqs-auth-form input[type="email"],
.aqs-auth-form input[type="password"],
.aqs-auth-form input[type="url"],
.aqs-auth-form input[type="tel"],
.aqs-auth-form select {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #c8d8dd;
    border-radius: 10px;
    background: #ffffff;
    font-size: 16px;
}

.aqs-auth-form input:focus,
.aqs-auth-form select:focus {
    outline: 2px solid #0b6f7d;
    outline-offset: 1px;
}

.aqs-submit,
.aqs-advisor-button {
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    margin-top: 10px;
    border: 0;
    border-radius: 10px;
    background: #0f3d4a;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.aqs-submit:hover,
.aqs-advisor-button:hover {
    background: #0a2c36;
    color: #ffffff;
}

.aqs-auth-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.aqs-auth-message p {
    margin: 0 0 6px;
}

.aqs-auth-message p:last-child {
    margin-bottom: 0;
}

.aqs-auth-error {
    background: #b3261e;
    color: #ffffff;
}

.aqs-auth-error a {
    color: #ffffff;
    text-decoration: underline;
}

.aqs-auth-success {
    background: #1f7a45;
    color: #ffffff;
}

.aqs-auth-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    text-align: center;
}

.aqs-auth-links a {
    color: #0b6f7d;
    text-decoration: none;
}

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

.aqs-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    line-height: 1.4;
}

.aqs-checkbox input {
    margin-top: 4px;
}

.aqs-shop-fields {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d8e5e8;
    border-radius: 12px;
    background: #f7fbfc;
}

.aqs-shop-fields[hidden] {
    display: none;
}

.aqs-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #d8e5e8;
    padding-bottom: 16px;
}

.aqs-logout {
    color: #0b6f7d;
    font-weight: 700;
    text-decoration: none;
}

.aqs-dashboard-section {
    padding: 18px 0;
    border-bottom: 1px solid #d8e5e8;
}

.aqs-dashboard-section:last-child {
    border-bottom: 0;
}

.aqs-dashboard-section p {
    margin: 8px 0;
}

.aqs-dashboard-action {
    text-align: center;
}

.aqs-delete-account {
    padding: 10px 16px;
    border: 1px solid #b3261e;
    border-radius: 10px;
    background: #ffffff;
    color: #b3261e;
    font-weight: 700;
    cursor: pointer;
}

.aqs-delete-account:hover {
    background: #b3261e;
    color: #ffffff;
}

@media (max-width: 640px) {
    .aqs-auth-container,
    .aqs-dashboard {
        margin: 18px 12px;
        padding: 20px;
    }

    .aqs-dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }
}
