.account-shell {
    padding: 3rem 1rem;
}

.account-container {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
    align-items: stretch;
}

.account-container--auth {
    grid-template-columns: 1.1fr 0.9fr;
}

.account-container--register {
    grid-template-columns: 1fr 1fr;
}

.account-panel {
    background: #ffffff;
    border: 1px solid #e7ebf0;
    border-radius: 24px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.account-panel--hero {
    padding: 3rem;
    background:
        radial-gradient(circle at top left, rgba(33, 150, 243, 0.12), transparent 32%),
        linear-gradient(135deg, #0f172a 0%, #16243a 100%);
    color: #ffffff;
}

.account-panel--form {
    padding: 2rem;
}

.account-hero-badge {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.account-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.account-hero-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.account-hero-list {
    margin: 0;
    padding-left: 1.1rem;
    display: grid;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.9);
}

.account-form-header h1,
.account-form-header h2 {
    margin: 0 0 0.4rem;
    color: #0f172a;
    font-size: 2rem;
}

.account-form-header p {
    margin: 0 0 1.5rem;
    color: #64748b;
}

.account-form {
    display: grid;
    gap: 1rem;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.account-field {
    display: grid;
    gap: 0.45rem;
}

.account-field label {
    font-size: 0.93rem;
    font-weight: 600;
    color: #0f172a;
}

.account-field input,
.account-field select,
.account-field textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.85rem 0.95rem;
    border: 1px solid #d7dee7;
    border-radius: 14px;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.account-field input:focus,
.account-field select:focus,
.account-field textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    background: #ffffff;
}

.account-password-wrap {
    position: relative;
}

.account-password-wrap input {
    padding-right: 4.5rem;
}

.account-password-toggle {
    position: absolute;
    top: 50%;
    right: 0.7rem;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #2563eb;
    font-weight: 700;
    cursor: pointer;
}

.account-form-row {
    display: flex;
    gap: 1rem;
}

.account-form-row--between {
    justify-content: space-between;
    align-items: center;
}

.account-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #475569;
    font-size: 0.95rem;
}

.account-checkbox input {
    width: 16px;
    height: 16px;
}

.account-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0.9rem 1.3rem;
    border-radius: 14px;
    border: none;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.account-btn:hover {
    transform: translateY(-1px);
}

.account-btn--primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.25);
}

.account-btn--full {
    width: 100%;
}

.account-divider {
    position: relative;
    text-align: center;
    margin: 1.3rem 0 0.7rem;
}

.account-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #e2e8f0;
}

.account-divider span {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 0 0.9rem;
    color: #94a3b8;
    font-size: 0.92rem;
}

.account-bottom-text {
    text-align: center;
    color: #64748b;
    margin-top: 0.8rem;
}

.account-link {
    color: #2563eb;
    text-decoration: none;
}

.account-link:hover {
    text-decoration: underline;
}

.account-link--strong {
    font-weight: 700;
}

.account-alert {
    padding: 0.95rem 1rem;
    border-radius: 14px;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.account-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.account-help {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.5;
}

.account-field-error {
    color: #b91c1c;
    font-size: 0.84rem;
}

.account-box {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    display: grid;
    gap: 0.8rem;
}

.account-feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.account-feature-card {
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.account-feature-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.account-feature-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.93rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .account-container--auth,
    .account-container--register {
        grid-template-columns: 1fr;
    }

    .account-panel--hero {
        order: 2;
    }

    .account-panel--form {
        order: 1;
    }
}

@media (max-width: 640px) {
    .account-grid,
    .account-feature-grid {
        grid-template-columns: 1fr;
    }

    .account-form-row--between {
        flex-direction: column;
        align-items: flex-start;
    }

    .account-panel--hero,
    .account-panel--form {
        padding: 1.3rem;
    }
}