/* =========================================================
   SONIDO VINTAGE LOGIN
   ========================================================= */

.svl-account,
.svl-registration-wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------------------------------------------------------
   GENERAL
   --------------------------------------------------------- */

.svl-card {
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 10px;
    background: #fff;
    box-sizing: border-box;
}

.svl-card h2,
.svl-card h3 {
    margin-top: 0;
}

.svl-heading,
.svl-welcome {
    margin-bottom: 30px;
}

.svl-eyebrow {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: .14em;
    font-weight: 700;
    opacity: .65;
}

.svl-muted {
    opacity: .7;
}

/* ---------------------------------------------------------
   LOGIN
   --------------------------------------------------------- */

.svl-register-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    font-size: 14px;
}

.svl-register-link a {
    font-weight: 700;
    text-decoration: none;
}

.svl-register-link a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   DASHBOARD
   --------------------------------------------------------- */

.svl-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.svl-main-card {
    grid-column: 1 / -1;
}

.svl-profile-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 22px;
}

.svl-profile {
    display: inline-flex;
    align-items: center;
    padding: 8px 13px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
}

.svl-link,
.svl-account-footer a {
    font-weight: 600;
    text-decoration: none;
}

.svl-link:hover,
.svl-account-footer a:hover {
    text-decoration: underline;
}

.svl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    box-sizing: border-box;
    cursor: pointer;
}

.svl-button-secondary {
    border: 1px solid rgba(0, 0, 0, .15);
}

.svl-button-secondary:hover {
    text-decoration: none;
}

.svl-button-primary {
    width: 100%;
    border: 0;
    background: var(--ast-global-color-0, #111);
    color: #fff;
}

.svl-button-primary:hover {
    opacity: .9;
    color: #fff;
}

.svl-account-footer {
    margin-top: 30px;
    text-align: right;
}

/* ---------------------------------------------------------
   REGISTRO
   --------------------------------------------------------- */

.svl-registration-wrap {
    padding: 20px 0;
}

.svl-registration-card {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, .10);
    border-radius: 12px;
    background: #fff;
    box-sizing: border-box;
}

.svl-registration-heading {
    margin-bottom: 35px;
    text-align: center;
}

.svl-registration-heading h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
}

.svl-registration-heading p {
    max-width: 620px;
    margin: 0 auto;
    opacity: .72;
}

/* ---------------------------------------------------------
   FORMULARIO
   --------------------------------------------------------- */

.svl-registration-form {
    width: 100%;
}

.svl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.svl-field {
    margin-bottom: 22px;
}

.svl-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
}

.svl-field input[type="text"],
.svl-field input[type="email"],
.svl-field input[type="password"] {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid rgba(0, 0, 0, .16);
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
    font-size: 15px;
}

.svl-field input:focus {
    outline: none;
    border-color: var(--ast-global-color-0, #111);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, .06);
}

.svl-field small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
    opacity: .65;
}

/* ---------------------------------------------------------
   SELECTOR DE PERFILES
   --------------------------------------------------------- */

.svl-profile-selector {
    margin: 35px 0 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, .10);
}

.svl-profile-selector-heading {
    margin-bottom: 20px;
}

.svl-profile-selector-heading h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
}

.svl-profile-selector-heading p {
    margin: 0;
    font-size: 14px;
    opacity: .7;
}

.svl-profile-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.svl-profile-option {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.svl-profile-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.svl-profile-option-content {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 15px 17px;
    border: 1px solid rgba(0, 0, 0, .14);
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    transition:
        border-color .15s ease,
        background-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.svl-profile-option:hover .svl-profile-option-content {
    border-color: rgba(0, 0, 0, .30);
    transform: translateY(-1px);
}

.svl-profile-option input:checked + .svl-profile-option-content {
    border-color: var(--ast-global-color-0, #111);
    background: rgba(0, 0, 0, .025);
    box-shadow: 0 0 0 1px var(--ast-global-color-0, #111);
}

.svl-profile-option-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   ERRORES
   --------------------------------------------------------- */

.svl-form-errors {
    margin-bottom: 25px;
    padding: 18px 20px;
    border: 1px solid #d63638;
    border-radius: 7px;
    background: rgba(214, 54, 56, .06);
}

.svl-form-errors strong {
    display: block;
    margin-bottom: 8px;
}

.svl-form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.svl-form-errors li {
    margin-bottom: 4px;
}

/* ---------------------------------------------------------
   FOOTER REGISTRO
   --------------------------------------------------------- */

.svl-registration-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid rgba(0, 0, 0, .08);
    font-size: 14px;
}

.svl-registration-footer a {
    font-weight: 700;
    text-decoration: none;
}

.svl-registration-footer a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 800px) {

    .svl-registration-card {
        padding: 30px 24px;
    }

    .svl-form-grid,
    .svl-profile-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {

    .svl-grid {
        grid-template-columns: 1fr;
    }

    .svl-main-card {
        grid-column: auto;
    }

    .svl-card {
        padding: 22px;
    }

    .svl-registration-wrap {
        padding: 10px 0;
    }

    .svl-registration-card {
        padding: 25px 18px;
        border-radius: 8px;
    }

    .svl-register-link,
    .svl-registration-footer {
        flex-direction: column;
        text-align: center;
    }

    .svl-account-footer {
        text-align: center;
    }
}