/* 
   ============================================================
   AUTH SYSTEM PREMIUM (v10.18.215)
   Registration Redesign & Role Identification
   ============================================================ 
*/

/* Contenedor de Tarjetas de Rol */
.role-card {
    border: 2px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.role-card:hover {
    transform: translateY(-4px);
    border-color: #e2e8f0;
    background: white;
}

/* Estado Activo: Padre/Madre */
.role-card.active-parent {
    background: #002147 !important;
    border-color: #002147 !important;
    box-shadow: 0 15px 35px rgba(0, 33, 71, 0.35) !important;
    transform: translateY(-4px) scale(1.02);
}

.role-card.active-parent i,
.role-card.active-parent span,
.role-card.active-parent p {
    color: white !important;
}

.role-card.active-parent i {
    color: #fbbf24 !important; /* Gold icons for blue background */
}

/* Estado Activo: Maestro/a */
.role-card.active-teacher {
    background: #7C3AED !important;
    border-color: #7C3AED !important;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.35) !important;
    transform: translateY(-4px) scale(1.02);
}

.role-card.active-teacher i,
.role-card.active-teacher span,
.role-card.active-teacher p {
    color: white !important;
}

.role-card.active-teacher i {
    color: #fbbf24 !important; /* Gold icons for purple background */
}

/* Refuerzo de Inputs y Etiquetas */
#register-screen label {
    font-weight: 700 !important;
    color: #334155 !important;
    margin-bottom: 0.5rem;
    display: block;
}

.role-card span {
    display: block;
    margin-top: 0.5rem;
    font-weight: 800;
}

#register-screen .input-fun-pro:focus {
    border-width: 2px !important;
    border-color: #fb923c !important; /* Vibrant orange border on focus */
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15) !important;
}

/* Botón Principal 3D Premium */
.btn-fun-gradient.premium-3d {
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%) !important;
    border-bottom: 4px solid #9a3412 !important;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3) !important;
    transition: all 0.2s ease !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-fun-gradient.premium-3d:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #fba158 0%, #f97316 100%) !important;
    box-shadow: 0 12px 25px rgba(234, 88, 12, 0.4) !important;
}

.btn-fun-gradient.premium-3d:active {
    transform: translateY(2px);
    border-bottom-width: 0 !important;
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.2) !important;
}

/* Animaciones */
.role-card i {
    transition: transform 0.3s ease;
}

.role-card:hover i {
    transform: scale(1.2) rotate(5deg);
}
