:root {
    --red-main: #ff0400;
    --red-secondary: #ff3936;
    --red-soft: #ff7673;

    --black-main: #191919;
    --gray-dark: #404040;

    --text-light: #ffffff;
    --text-muted: #bfbfbf;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(255, 4, 0, 0.25), transparent 55%),
                #000000;
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-light);
}

.login-wrapper {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 960px;
    background: linear-gradient(135deg, #111111, #191919);
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 4, 0, 0.15);
}

/* Lado izquierdo (branding) */

.login-left {
    position: relative;
    padding: 40px 40px 48px;
    background: radial-gradient(circle at top left, rgba(255, 4, 0, 0.38), transparent 55%),
                #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* ⬅️ CENTRA horizontalmente el contenido */
}

/* contenedor del logo + textos */
.login-box {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    text-align: center;
}

/* logo más grande */
.logo-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--black-main);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 0 35px rgba(255, 4, 0, 0.45);
}

.logo-img {
    width: 95%;
    height: 95%;
    object-fit: contain;
    border-radius: 50%;
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red-soft);
}

.brand-name {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 8px;
}

.brand-name span {
    color: var(--red-secondary);
}

.brand-subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
    max-width: 280px; /* puedes subirlo a 320 si quieres que ocupe más */
    margin-left: auto;
    margin-right: auto; /* por si acaso */
}

/* Lado derecho (formulario) */

.login-right {
    padding: 40px 40px 48px;
    background: var(--gray-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h2 {
    margin: 0 0 4px;
    font-size: 24px;
}

.login-subtitle {
    margin: 0 0 24px;
    font-size: 13px;
    color: var(--text-muted);
}

/* estas clases no se usan ahora, puedes borrarlas o usarlas en otros textos */
.title {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.alert-error {
    background: rgba(255, 4, 0, 0.12);
    border: 1px solid rgba(255, 4, 0, 0.45);
    color: #ffd4d4;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    margin-bottom: 18px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

label {
    font-size: 13px;
    color: var(--text-muted);
}

input,
select {
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    background: #252525;
    color: var(--text-light);
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input::placeholder {
    color: #777777;
}

input:focus,
select:focus {
    border-color: var(--red-secondary);
    box-shadow: 0 0 0 1px rgba(255, 57, 54, 0.45);
    background: #1f1f1f;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
    margin-bottom: 4px;
    font-size: 12px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-muted);
}

.remember input {
    width: 14px;
    height: 14px;
    accent-color: var(--red-secondary);
}

.forgot-link {
    color: var(--red-soft);
    text-decoration: none;
    font-size: 12px;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn-primary {
    margin-top: 4px;
    border-radius: 999px;
    border: none;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--red-main), var(--red-secondary));
    color: var(--text-light);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.1s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 4, 0, 0.45);
    filter: brightness(1.03);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: none;
}

.footer-text {
    margin-top: 18px;
    font-size: 11px;
    color: var(--text-muted);
}
/* SweetAlert personalizado SexShop Stars */
.swal-sexshop {
    border-radius: 16px !important;
    font-family: "Poppins", system-ui, sans-serif;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

/* Responsivo */
@media (max-width: 800px) {
    .login-card {
        grid-template-columns: 1fr;
    }

    
    .login-right {
        padding: 28px 20px 32px;
    }
}

