/* Login / registro — shell premium Paulina */

.pr-auth {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 4.5rem);
    background:
        radial-gradient(ellipse 55% 50% at 8% 10%, rgba(183, 154, 181, 0.22), transparent 60%),
        radial-gradient(ellipse 45% 40% at 92% 90%, rgba(198, 167, 107, 0.16), transparent 55%),
        #F8F7F5;
}

.pr-auth__brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pr-auth__brand .logo-height {
    max-height: 110px;
    width: auto;
    max-width: min(280px, 70vw);
    object-fit: contain;
}

.pr-auth__card {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.35rem) clamp(1.4rem, 3.5vw, 2rem);
    background: #FFFFFF;
    border-radius: 22px;
    border: 1px solid rgba(183, 154, 181, 0.28);
    box-shadow:
        0 18px 42px rgba(61, 0, 38, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.pr-auth__title {
    margin: 0 0 0.35rem;
    text-align: center;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 500;
    font-size: clamp(1.85rem, 3.5vw, 2.25rem);
    color: #3D0026;
    letter-spacing: 0.02em;
    text-transform: none;
}

.pr-auth__rule {
    width: 48px;
    height: 2px;
    margin: 0 auto 1.5rem;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #C6A76B, transparent);
}

.pr-auth__field {
    position: relative;
    margin-bottom: 1rem;
}

.pr-auth__field > .form-control,
.pr-auth__field .input-group > .form-control {
    position: relative;
    z-index: 1;
    min-height: 48px !important;
    padding-left: 2.85rem !important;
    padding-right: 1rem !important;
    border-radius: 12px !important;
    border-color: rgba(61, 0, 38, 0.14) !important;
    font-size: 0.95rem;
    color: #1D1D1D !important;
    background: #FFFFFF !important;
}

.pr-auth__field .form-control:focus,
.pr-auth__field .input-group > .form-control:focus {
    border-color: #C6A76B !important;
    box-shadow: 0 0 0 3px rgba(198, 167, 107, 0.22) !important;
    z-index: 1 !important;
}

.pr-auth__field-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #3D0026 !important;
    font-size: 1.1rem;
    line-height: 1;
    pointer-events: none;
    z-index: 5;
    opacity: 1;
}

.pr-auth__field--password > .pr-auth__field-icon {
    /* Centrado al alto del input, no del grupo completo */
    top: 1.5rem;
    transform: translateY(-50%);
}

.pr-auth__field-icon i,
.pr-auth__field-icon [class^="icon-"],
.pr-auth__field-icon [class*=" icon-"] {
    color: #3D0026 !important;
    font-style: normal;
    speak: none;
}

.pr-auth__field--password .input-group > .form-control {
    padding-left: 2.85rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.pr-auth__field .input-group {
    width: 100%;
    position: relative;
}

.pr-auth__field .input-group-append {
    position: relative;
    z-index: 2;
}

.pr-auth__field .input-group-text {
    border-radius: 0 12px 12px 0 !important;
    border-color: rgba(61, 0, 38, 0.14) !important;
    background: #F8F7F5 !important;
    color: #3D0026 !important;
    min-width: 3rem;
    justify-content: center;
    cursor: pointer;
}

.pr-auth__field .input-group-text i,
.pr-auth__field .input-group-text [class^="icon-"],
.pr-auth__field .input-group-text [class*=" icon-"] {
    color: #3D0026 !important;
    font-size: 1.15rem;
    opacity: 1;
}

.pr-auth__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.35rem 0 1.35rem;
}

.pr-auth__meta .form-check {
    margin: 0;
}

.pr-auth__meta .linkcontrasena {
    color: #3D0026;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.pr-auth__meta .linkcontrasena:hover {
    color: #C6A76B;
}

.pr-auth__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.pr-auth__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: "Inter", system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.pr-auth__btn--primary,
button.pr-auth__btn--primary {
    background: #3D0026;
    border-color: #3D0026;
    color: #FFFFFF !important;
    box-shadow: 0 10px 24px rgba(61, 0, 38, 0.18);
}

.pr-auth__btn--primary:hover,
button.pr-auth__btn--primary:hover {
    background: #C6A76B;
    border-color: #C6A76B;
    color: #3D0026 !important;
    transform: translateY(-2px);
}

.pr-auth__btn--ghost,
a.pr-auth__btn--ghost {
    background: transparent;
    border-color: #3D0026;
    color: #3D0026 !important;
}

.pr-auth__btn--ghost:hover,
a.pr-auth__btn--ghost:hover {
    background: #3D0026;
    color: #FFFFFF !important;
}

.pr-auth #mensaje_error.error,
.pr-auth .pr-google-auth__ayuda.is-visible {
    margin-bottom: 0.85rem;
}

.pr-auth .pr-google-auth {
    margin-top: 0.35rem;
}

.pr-auth__footer-link {
    margin: 1.25rem 0 0;
    text-align: center;
    font-size: 0.92rem;
    color: rgba(29, 29, 29, 0.75);
}

.pr-auth__footer-link a {
    color: #3D0026;
    font-weight: 600;
    text-decoration: none;
}

.pr-auth__footer-link a:hover {
    color: #C6A76B;
}
