/* Estilos de registro, acceso y biblioteca personal de Sonoteca */
.auth-shell {
    width: min(100% - 40px, 560px);
    margin: 0 auto;
    padding: 34px 0 56px;
    color: #202126;
}
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #202126;
    text-decoration: none;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -1px;
}
.auth-brand-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #202126;
    color: #fff;
    font-size: 23px;
    font-weight: 800;
}
.auth-card, .dashboard-card {
    margin-top: 58px;
    padding: 42px;
    border: 1px solid #e8e6e2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(32, 33, 38, .045);
}
.auth-eyebrow {
    margin: 0 0 13px;
    color: #7054df;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}
.auth-card h1, .dashboard-card h1 {
    margin: 0;
    color: #202126;
    font-size: clamp(30px, 6vw, 42px);
    line-height: 1.08;
    letter-spacing: -1.7px;
}
.auth-muted {
    margin: 14px 0 28px;
    color: #777985;
    line-height: 1.65;
}
.auth-form {
    display: grid;
    gap: 10px;
}
.auth-form label {
    margin-top: 9px;
    color: #34353b;
    font-size: 14px;
    font-weight: 700;
}
.auth-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #dedde3;
    border-radius: 10px;
    background: #fff;
    color: #202126;
    font: inherit;
}
.auth-form input:focus {
    outline: 3px solid rgba(112, 84, 223, .15);
    border-color: #7054df;
}
.auth-form small {
    color: #777985;
    font-size: 12px;
}
.auth-submit, .auth-logout {
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 10px;
    background: #202126;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.auth-submit { margin-top: 18px; }
.auth-submit:hover, .auth-logout:hover { background: #393a42; }
.auth-switch {
    margin: 24px 0 0;
    color: #777985;
    text-align: center;
    font-size: 14px;
}
.auth-switch a, .auth-footer a {
    color: #7054df;
    font-weight: 700;
    text-decoration: none;
}
.auth-switch a:hover, .auth-footer a:hover { text-decoration: underline; }
.auth-alert {
    margin: 20px 0;
    padding: 12px 15px;
    border: 1px solid #f0caca;
    border-radius: 10px;
    background: #fff6f6;
    color: #8c2929;
    font-size: 14px;
}
.auth-alert p { margin: 4px 0; }
.auth-footer {
    margin: 24px 0 0;
    text-align: center;
    font-size: 13px;
}
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.dashboard-header form { margin: 0; }
.auth-logout {
    min-height: 40px;
    background: #f1f0f4;
    color: #303139;
    font-size: 13px;
}
.dashboard-placeholder {
    display: grid;
    gap: 8px;
    margin-top: 30px;
    padding: 22px;
    border: 1px dashed #d8d3eb;
    border-radius: 14px;
    color: #555661;
    line-height: 1.5;
}
.dashboard-placeholder strong { color: #202126; }
@media (max-width: 560px) {
    .auth-shell { width: min(100% - 28px, 560px); padding-top: 22px; }
    .auth-card, .dashboard-card { margin-top: 34px; padding: 26px 21px; }
    .dashboard-header { align-items: flex-start; }
}
.auth-form .show-password {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.auth-form .show-password input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    padding: 0 !important;
    margin: 0;
    flex: 0 0 17px;
    border: initial;
    background: initial;
    cursor: pointer;
}
