/* From Uiverse.io by Smit-Prajapati — scoped to login view only */
/* NOTE: .container styles removed — would override the app's 1100px container */

.social-account-container {
    margin-top: 25px;
}

.social-account-container .title {
    display: block;
    text-align: center;
    font-size: 10px;
    color: rgb(170, 170, 170);
}

.social-account-container .social-accounts {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 5px;
}

.social-account-container .social-accounts .social-button {
    background: linear-gradient(45deg, rgb(0, 0, 0) 0%, rgb(112, 112, 112) 100%);
    border: 5px solid white;
    padding: 5px;
    border-radius: 50%;
    width: 40px;
    aspect-ratio: 1;
    display: grid;
    place-content: center;
    box-shadow: rgba(133, 189, 215, 0.8784313725) 0px 12px 10px -8px;
    transition: all 0.2s ease-in-out;
}

.social-account-container .social-accounts .social-button .svg {
    fill: white;
    margin: auto;
}

.social-account-container .social-accounts .social-button:hover {
    transform: scale(1.2);
}

.social-account-container .social-accounts .social-button:active {
    transform: scale(0.9);
}

.agreement {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #555;
}

.agreement a {
    text-decoration: none;
    color: #0099ff;
    font-size: 13px;
}

/* ─── Register Form Enhancements ─────────────────────────────────────────── */

.reg-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 14px;
}

.reg-field-group .login-input {
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
}

/* El wrapper actúa como la caja visual, el input interno no necesita margin-top */
.reg-field-group .reg-input-wrapper {
    margin-top: 0;
}

.reg-input-wrapper {
    position: relative;
    margin-top: 14px;
}

/* El input ocupa todo el ancho; deja espacio a la derecha para el ícono */
.reg-input-wrapper .login-input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 44px;
    margin-top: 0;
}

/* Ocultar el ojo nativo en Edge/Chrome/Safari */
.reg-input-wrapper .login-input::-ms-reveal,
.reg-input-wrapper .login-input::-ms-clear,
.reg-input-wrapper .login-input::-webkit-credentials-auto-fill-button,
.reg-input-wrapper .login-input::-webkit-textfield-decoration-container { display: none !important; }

.reg-toggle-pw {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    color: #c0cad4;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: color 0.2s, background 0.15s;
    line-height: 0;
}

.reg-toggle-pw:hover {
    color: #1089D3;
    background: rgba(16, 137, 211, 0.09);
}

.reg-toggle-pw:active {
    transform: translateY(-50%) scale(0.87);
}

.reg-toggle-pw svg {
    display: block;
    pointer-events: none;
}

.reg-toggle-pw svg {
    display: block;
    pointer-events: none;
    transition: stroke 0.2s;
}

/* Inline validation hints */
.reg-field-hint {
    font-size: 11px;
    min-height: 14px;
    padding-left: 4px;
    transition: color 0.2s;
    color: transparent;
}

.reg-field-hint.error   { color: #ef4444; }
.reg-field-hint.success { color: #10b981; }

/* Pill-style match indicator for confirm password */
.reg-match-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    margin-top: 2px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    color: transparent;
}

.reg-match-hint.visible {
    max-height: 32px;
    opacity: 1;
    padding: 5px 12px;
}

.reg-match-hint.error {
    color: #b91c1c;
    background: #fee2e2;
}

.reg-match-hint.success {
    color: #065f46;
    background: #d1fae5;
}

/* Password strength indicator */
.reg-strength-wrap {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    margin-top: 6px;
    padding-left: 4px;
}

.reg-strength-wrap.visible {
    max-height: 20px;
    opacity: 1;
}

.reg-strength-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: color 0.3s;
}

.reg-strength-label.s1 { color: #ef4444; }
.reg-strength-label.s2 { color: #f97316; }
.reg-strength-label.s3 { color: #eab308; }
.reg-strength-label.s4 { color: #10b981; }

#register-form .login-btn-new {
    margin-top: 18px;
    width: 100%;
    cursor: pointer;
}