body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    /* Fondo tipo portal de premios */
    background:
        radial-gradient(circle at top left, #ff9a9e 0, transparent 55%),
        radial-gradient(circle at bottom right, #fad0c4 0, transparent 55%),
        linear-gradient(135deg, #140a28 0%, #26184a 50%, #071b3d 100%);
}

.main-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 90%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
    border-top: 5px solid #4a2c7a;
}

.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.brand-logo {
    width: 95px;
    height: auto;
    margin-bottom: 12px;
    border-radius: 18px;
    /* opcional: si tu logo es cuadrado */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

h1 {
    color: #4a2c7a;
    margin: 0 0 6px;
    font-size: 1.9rem;
    font-weight: 800;
}

.subtitle-portal {
    color: #777;
    margin: 0 0 25px;
    font-size: 0.95rem;
}




.logo {
    width: 160px;
    margin-bottom: 15px;
}

h1 {
    color: #4a2c7a;
    margin: 0 0 5px;
    font-size: 1.8rem;
    font-weight: 800;
}

p {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* BOTONES */
.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-check {
    background: white;
    color: #4a2c7a;
    border: 2px solid #4a2c7a;
}

.btn-check:hover {
    background: #4a2c7a;
    color: white;
}

.btn-login {
    background: linear-gradient(135deg, #4a2c7a 0%, #00609c 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(74, 44, 122, 0.3);
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 44, 122, 0.4);
}

.btn-register {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.btn-register:hover {
    background: #eee;
    color: #333;
}

/* MODALES */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-box {
    background: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 380px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #d33;
}

/* FORMULARIOS */
.form-group {
    position: relative;
    margin-bottom: 15px;
    text-align: left;
}

.form-group.select-group {
    margin-bottom: 18px;
}

/* Wrapper para poder dibujar la flechita personalizada */
.select-wrapper {
    position: relative;
}

/* Estilo del SELECT */
.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 15px;
    /* más espacio a la derecha para la flecha */
    border-radius: 10px;
    border: 1px solid #c8b7ff;
    background: #f8f6ff;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    box-sizing: border-box;
    cursor: pointer;

    /* quitar estilo feo del sistema */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Efecto al pasar el mouse / focus */
.select-wrapper select:hover {
    border-color: #4a2c7a;
}

.select-wrapper select:focus {
    border-color: #4a2c7a;
    box-shadow: 0 0 0 2px rgba(74, 44, 122, 0.15);
}

/* Flechita personalizada */
.select-wrapper::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8rem;
    color: #4a2c7a;
    pointer-events: none;
}

.form-group i.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a2c7a;
}

.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    z-index: 10;
}

input,
select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-sizing: border-box;
    outline: none;
    font-size: 1rem;
}

/* Ajuste para selects sin icono */
select.no-icon {
    padding-left: 15px;
}

input:focus,
select:focus {
    border-color: #4a2c7a;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #4a2c7a;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

/* PUNTOS */
.points-circle {
    width: 120px;
    height: 120px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
    }

    to {
        transform: translateY(0);
    }
}