/* Estilos propios para el alta pública */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,600italic,700,700italic');

html,
body {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #394263;
    background-color: #222222;
    font-size: 13px;
    min-height: 100vh;
}

#login-background {
    width: 100%;
    height: 224px;
    overflow: hidden;
    position: relative;
}

#login-background img {
    position: absolute;
    width: 2560px;
    height: 400px;
    left: 50%;
    margin-left: -1280px;
}

#login-container {
    width: min(960px, calc(100% - 32px));
    margin: -76px auto 40px;
    position: relative;
    z-index: 1000;
}

#login-container .login-title h1 {
    color: #f8fafc;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin-bottom: 18px;
}

.nr-shell {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    border: none;
    background: rgba(255, 255, 255, 0.98);
}

.nr-shell-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 10px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
}

.nr-shell-heading {
    min-width: 0;
}

.nr-shell-heading h1 {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
}

.nr-shell-heading p {
    margin: 0;
    max-width: 760px;
    color: #dddddd;
    font-size: 13px;
    line-height: 1.7;
}

.nr-lang-switcher {
    flex: 0 0 auto;
    display: flex;
    gap: 8px;
    padding-top: 2px;
}

.nr-lang-link {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.nr-lang-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nr-lang-link:hover,
.nr-lang-link:focus {
    transform: translateY(-1px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.24);
}

.nr-lang-link.is-active {
    border-color: #d1fae5;
    box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.18), 0 12px 26px rgba(15, 23, 42, 0.22);
}

.nr-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}

.nr-hero {
    position: relative;
    padding: 0 34px 24px;
    color: #394263;
    background: transparent;
}

.nr-hero h2 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 800;
}

.nr-hero p {
    margin: 0;
    max-width: 760px;
    color: #394263;
    font-size: 13px;
    line-height: 1.7;
}

.nr-body {
    padding: 30px 34px 34px;
    background: #ffffff;
}

.nr-section {
    margin-bottom: 24px;
    padding: 18px 18px 6px;
    border: 1px solid #e7ebf3;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.nr-section-title {
    margin-bottom: 14px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    font-size: 13px;
    color: #263247;
}

.nr-body {
    font-size: 13px;
    padding: 30px 34px 34px;
    background: #ffffff;
}

.nr-shell .form-group {
    margin-bottom: 18px;
}

.nr-shell label {
    font-weight: 600;
    color: #263247;
    margin-bottom: 7px;
}

.nr-shell .form-control {
    min-height: 34px;
    height: 34px;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #ced7e6;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #394263;
    box-shadow: none;
}

.nr-shell .form-control.input-lg,
.nr-shell select.form-control,
.nr-shell input.form-control {
    height: 34px;
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.2;
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #394263;
}

.nr-shell .form-control::placeholder {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #8b97ab;
}

.nr-shell textarea.form-control {
    height: auto;
    min-height: 90px;
}

.nr-shell .form-control:focus {
    border-color: #2f855a;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.16);
}

.nr-field-invalid {
    border-color: #c53030 !important;
    box-shadow: 0 0 0 4px rgba(197, 48, 48, 0.12) !important;
}

.nr-field-valid {
    border-color: #38a169 !important;
}

.nr-shell .well {
    background: linear-gradient(180deg, #f7f9fc 0%, #eef4ff 100%);
    border: 1px solid #d8e2f0;
    border-radius: 18px;
    color: #263247;
}

.nr-plan-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.nr-plan-vat-note {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
}

.nr-plan-chip {
    background: #ffffff;
    border: 1px solid #d8e2f0;
    border-radius: 16px;
    padding: 14px 16px;
    min-height: 92px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.nr-plan-chip strong {
    display: block;
    margin-bottom: 6px;
    color: #394263;
    font-weight: 700;
}

.nr-actions {
    margin-top: 24px;
}

.nr-actions .btn {
    border-radius: 10px;
    font-weight: 700;
    padding: 8px 16px;
    min-height: 34px;
}

.nr-actions .nr-btn-compact {
    min-width: 0;
    width: auto;
    padding: 8px 16px;
    min-height: 34px;
    font-size: 13px;
    line-height: 1.2;
}

.nr-actions .nr-btn-secondary {
    margin-left: 6px;
}

.nr-actions .btn-primary {
    background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
    border: 0;
}

.nr-actions .btn-default {
    background: #eef3f9;
    border: 1px solid #d7dfeb;
    color: #14532d;
}

.nr-note {
    color: #334155;
    font-size: 13px;
    line-height: 1.65;
}

.nr-checkline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    text-align: center;
}

.nr-checkline-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.nr-checkline-text {
    display: inline;
    width: auto;
    margin-left: 0;
    text-align: left;
}

.nr-checkline input[type="checkbox"] {
    margin-top: 2px;
}

.nr-conditions-link {
    display: inline-block;
}

.nr-captcha-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.nr-captcha-option {
    position: relative;
}

.nr-captcha-option input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.nr-captcha-option label {
    display: block;
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #d8e2f0;
    cursor: pointer;
    text-align: center;
    font-weight: 700;
    color: #14532d;
    transition: all 0.2s ease;
}

.nr-captcha-option input:checked + label {
    background: #e7f8ef;
    border-color: #38a169;
    box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.14);
}

.nr-captcha-question {
    color: #14532d;
    font-weight: 700;
}

@media (max-width: 768px) {
    #login-container {
        width: calc(100% - 20px);
        margin: -54px auto 30px;
    }

    .nr-shell-header {
        padding: 20px 18px 14px;
        flex-direction: column;
    }

    .nr-shell-heading h1 {
        font-size: 28px;
    }

    .nr-hero,
    .nr-body {
        padding-left: 18px;
        padding-right: 18px;
    }

    .nr-lang-switcher {
        gap: 6px;
    }

    .nr-lang-link {
        width: 34px;
        height: 34px;
    }

    .nr-hero h2 {
        font-size: 28px;
    }
}
