.auth-body {
    background-color: #eef2f7 !important;
}

.auth-body,
.auth-body #app {
    min-height: 100vh;
    min-height: 100dvh;
}

.auth-shell {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 100%;
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--p-primary-100) 70%, transparent), transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.auth-main {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 1.25rem;
}

.auth-panel {
    width: 100%;
    max-width: 28rem;
    padding: 1.75rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 18px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
}

@media (min-width: 640px) {
    .auth-panel {
        padding: 2rem 2.25rem;
    }
}

.auth-panel__logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-panel__logo img {
    max-width: 180px;
    max-height: 80px;
    object-fit: contain;
}

.auth-panel__header {
    margin-bottom: 1.5rem;
}

.auth-panel__heading {
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.auth-panel__subtitle {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #64748b;
}

.auth-panel__body {
    display: flex;
    flex-direction: column;
}

.auth-page-footer {
    flex-shrink: 0;
    padding: 0.85rem 1.25rem 1.25rem;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: center;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.auth-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.auth-icon-field {
    width: 100%;
    position: relative;
}

.auth-field-icon {
    color: #94a3b8;
    font-size: 1rem;
    transition: color 160ms ease;
}

.auth-icon-field:focus-within .auth-field-icon {
    color: var(--p-primary-color);
}

.auth-input {
    width: 100%;
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.15rem;
}

.auth-remember {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
}

.auth-remember-label {
    font-size: 0.875rem;
    color: #475569;
    user-select: none;
}

.auth-inline-link,
.auth-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--p-primary-color);
    text-decoration: none;
    white-space: nowrap;
}

.auth-inline-link:hover,
.auth-link:hover {
    color: var(--p-primary-700);
}

.auth-submit {
    width: 100%;
    margin-top: 0.35rem;
    min-height: 2.9rem;
    font-weight: 600;
    border-radius: 0.8rem;
    box-shadow: 0 10px 24px color-mix(in srgb, var(--p-primary-color) 24%, transparent);
}

.auth-submit .p-button-label {
    flex: 1;
}

.auth-submit__icon {
    margin-left: 0.35rem;
    font-size: 1rem;
    transition: transform 160ms ease;
}

.auth-submit:hover .auth-submit__icon {
    transform: translateX(2px);
}

.auth-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-description {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.auth-status-message {
    margin-bottom: 1rem;
}

.auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--p-primary-color);
    text-decoration: none;
}

.auth-back-link:hover {
    color: var(--p-primary-700);
}
