@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
:root {
    --mcr-font-family: 'Inter', sans-serif;
    --mcr-primary: #3b82f6; 
    --mcr-primary-light: #eff6ff;
    --mcr-primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --mcr-secondary: #8b5cf6;
    --mcr-secondary-gradient: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --mcr-success: #10b981;
    --mcr-success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --mcr-border: #e5e7eb;
    --mcr-text-dark: #111827;
    --mcr-text-medium: #6b7280;
    --mcr-text-light: #9ca3af;
    --mcr-white: #ffffff;
    --mcr-bg-light: #f9fafb;
    --mcr-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --mcr-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --mcr-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --mcr-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mcr-booking-container { 
    font-family: var(--mcr-font-family); 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
    max-width: 1100px; 
    margin: 40px auto; 
    background: transparent; 
}

@media (min-width: 1024px) { 
    .mcr-booking-container { 
        grid-template-columns: 320px 1fr 240px; 
        grid-auto-rows: auto; 
    } 
}

.mcr-info-panel, .mcr-calendar-panel, .mcr-time-slots-panel { 
    padding: 28px; 
    background: var(--mcr-white);
    border: 1px solid var(--mcr-border);
    border-radius: 20px;
    box-shadow: var(--mcr-shadow-lg);
    transition: all 0.3s ease;
}

.mcr-info-panel:hover, .mcr-calendar-panel:hover, .mcr-time-slots-panel:hover { 
    box-shadow: var(--mcr-shadow-xl);
    transform: translateY(-2px);
}

.mcr-info-panel, .mcr-calendar-panel { 
    border-right: none; 
}

.mcr-time-slots-panel { 
    background: var(--mcr-white); 
}

/* Layout 3 columnas en desktop basado en orden del DOM (info, calendar, times) */

.mcr-info-title { 
    font-size: 1.75rem; 
    font-weight: 700; 
    margin: 0 0 20px; 
    background: var(--mcr-primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mcr-info-meta { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    padding-bottom: 20px; 
    margin-bottom: 28px; 
    border-bottom: 2px solid var(--mcr-border); 
}

.mcr-info-meta span { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: var(--mcr-text-medium); 
    font-weight: 500;
}

.mcr-info-meta svg { 
    width: 18px; 
    height: 18px; 
    color: var(--mcr-primary);
    filter: drop-shadow(0 1px 2px rgba(59, 130, 246, 0.3));
}

.mcr-section-title { 
    font-size: 1.125rem; 
    font-weight: 600; 
    margin: 0 0 16px; 
    color: var(--mcr-text-dark);
}

.mcr-educators-list { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
}

.mcr-educator-card { 
    display: flex; 
    align-items: center; 
    gap: 14px; 
    padding: 16px; 
    border-radius: 12px; 
    border: 2px solid var(--mcr-border); 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    background: var(--mcr-white);
    position: relative;
    overflow: hidden;
}

.mcr-educator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.mcr-educator-card:hover::before {
    left: 100%;
}

.mcr-educator-card:hover { 
    border-color: var(--mcr-primary); 
    background: var(--mcr-primary-light); 
    transform: translateY(-3px);
    box-shadow: var(--mcr-shadow-lg);
}

.mcr-educator-card.selected { 
    border-color: var(--mcr-primary); 
    background: var(--mcr-primary-light); 
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), var(--mcr-shadow-lg);
    animation: mcr-pulse 400ms cubic-bezier(0.4, 0, 0.6, 1); 
}

@keyframes mcr-pulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.7), var(--mcr-shadow-lg); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0), var(--mcr-shadow-lg); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0), var(--mcr-shadow-lg); }
}

.mcr-educator-avatar { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 3px solid var(--mcr-white);
    box-shadow: var(--mcr-shadow-md);
    transition: all 0.3s ease;
}

.mcr-educator-card:hover .mcr-educator-avatar {
    transform: scale(1.1);
    border-color: var(--mcr-primary);
}

.mcr-educator-name { 
    font-weight: 600; 
    color: var(--mcr-text-dark);
    font-size: 1.025rem;
}

.mcr-calendar-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 20px; 
    padding: 16px;
    background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.mcr-month-display { 
    font-size: 1.25rem; 
    font-weight: 700; 
    color: var(--mcr-primary);
}

.mcr-nav-button { 
    background: var(--mcr-white); 
    border: 2px solid var(--mcr-primary); 
    border-radius: 50%; 
    width: 40px; 
    height: 40px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--mcr-primary);
    box-shadow: var(--mcr-shadow-sm);
}

.mcr-nav-button:hover { 
    background: var(--mcr-primary); 
    color: var(--mcr-white);
    transform: scale(1.1);
    box-shadow: var(--mcr-shadow-md);
}

.mcr-nav-button:disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
    transform: none;
}

.mcr-weekdays, .mcr-days-grid { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    text-align: center; 
}

.mcr-weekdays { 
    font-size: 0.875rem; 
    color: var(--mcr-text-medium); 
    margin-bottom: 12px; 
    font-weight: 600;
    background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%);
    border-radius: 12px;
    padding: 8px 12px;
}

.mcr-days-grid { 
    gap: 6px; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.mcr-days-grid.mcr-fade-out { opacity: 0; transform: translateY(8px); }
.mcr-days-grid.mcr-fade-in { opacity: 1; transform: translateY(0); }

.mcr-day { 
    height: 44px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mcr-day::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--mcr-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.mcr-day:not(.disabled):hover { 
    background: var(--mcr-primary-light); 
    transform: translateY(-2px) scale(1.05); 
    box-shadow: var(--mcr-shadow-md);
    color: var(--mcr-primary);
}

.mcr-day:not(.disabled):hover::before {
    width: 100%;
    height: 100%;
}

.mcr-day.today { 
    border: 2px solid var(--mcr-primary); 
    background: var(--mcr-primary-light);
    color: var(--mcr-primary);
    font-weight: 700;
}

.mcr-day.selected { 
    background: var(--mcr-primary-gradient); 
    color: var(--mcr-white); 
    transform: scale(1.1);
    box-shadow: var(--mcr-shadow-lg);
    font-weight: 700;
}

.mcr-day.disabled { 
    color: var(--mcr-text-light); 
    cursor: not-allowed; 
    opacity: 0.6;
}

.mcr-day.empty { 
    cursor: default; 
}

.mcr-time-slot { 
    width: 100%; 
    padding: 14px; 
    margin-bottom: 10px; 
    border: 2px solid var(--mcr-border); 
    border-radius: 12px; 
    background: var(--mcr-white); 
    cursor: pointer; 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    text-align: center; 
    position: relative;
    overflow: hidden;
}

.mcr-time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.mcr-time-slot:hover::before {
    left: 100%;
}

.mcr-time-slot:hover { 
    border-color: var(--mcr-primary); 
    color: var(--mcr-primary); 
    transform: translateY(-2px);
    box-shadow: var(--mcr-shadow-md);
}

.mcr-loader { 
    text-align: center; 
    color: var(--mcr-text-medium); 
}

/* Skeletons para horarios */
.mcr-skeleton { 
  height: 44px; 
  border-radius: 12px; 
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: mcr-shimmer 1.4s ease-in-out infinite;
  margin-bottom: 10px;
  border: 1px solid var(--mcr-border);
}

@keyframes mcr-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

/* Toasts */
.mcr-toast-container { 
  position: fixed; 
  top: 20px; 
  right: 20px; 
  z-index: 11000; 
}
.mcr-toast { 
  background: var(--mcr-text-dark); 
  color: var(--mcr-white); 
  padding: 14px 18px; 
  border-radius: 12px; 
  margin-bottom: 12px; 
  box-shadow: var(--mcr-shadow-xl);
  opacity: 0; 
  transform: translateY(-8px) scale(0.95); 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  font-weight: 500;
  border-left: 4px solid transparent;
}
.mcr-toast.show { opacity: 1; transform: translateY(0) scale(1); }
.mcr-toast.success { 
    background: var(--mcr-success-gradient); 
    border-left-color: var(--mcr-success);
}
.mcr-toast.error { 
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%); 
    border-left-color: #dc2626;
}

/* REQUISITO 2: Popup Centrado */
.mcr-modal { 
    display: none; 
    position: fixed; 
    z-index: 10000; 
    left: 0; 
    top: 0; 
    width: 100vw; 
    height: 100vh; 
    background-color: rgba(0,0,0,0.4); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
}

.mcr-modal.active { 
    display: flex; 
    opacity: 1; 
}

.mcr-modal-content { 
    background: var(--mcr-white); 
    padding: 32px; 
    border: none; 
    width: 90%; 
    max-width: 520px; 
    border-radius: 20px; 
    position: relative; 
    box-shadow: var(--mcr-shadow-xl); 
    transform: translateY(-20px) scale(0.95); 
    opacity: 0; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}

.mcr-modal.active .mcr-modal-content { 
    transform: translateY(0) scale(1); 
    opacity: 1; 
}

/* Forzar centrado perfecto en desktop */
@media (min-width: 1024px) {
  .mcr-modal { 
    left: 0; 
    right: 0; 
    top: 0; 
    bottom: 0; 
    width: 100vw; 
    height: 100vh; 
  }
  .mcr-modal.active { 
    display: flex; 
  }
  .mcr-modal-content { 
    position: relative; 
    left: auto; 
    top: auto; 
    transform: translateY(-20px) scale(0.95);
  }
  .mcr-modal.active .mcr-modal-content { 
    transform: translateY(0) scale(1);
  }
}

.mcr-modal-close-btn { 
    color: var(--mcr-text-light); 
    position: absolute; 
    top: 16px; 
    right: 20px; 
    font-size: 32px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    z-index: 10001;
}

.mcr-modal-close-btn:hover { 
    color: var(--mcr-text-dark); 
    background: var(--mcr-bg-light);
    transform: rotate(90deg);
}

.mcr-modal-title { 
    margin-top: 0; 
    font-size: 1.5rem; 
    font-weight: 700;
    color: var(--mcr-text-dark);
    margin-bottom: 20px;
}

.mcr-modal-summary { 
    margin-bottom: 24px; 
    padding: 20px; 
    background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%);
    border-radius: 12px; 
    border: 1px solid rgba(59, 130, 246, 0.1);
    font-weight: 500;
}

.mcr-form-group { 
    margin-bottom: 20px; 
}

.mcr-form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: var(--mcr-text-dark);
}

.mcr-form-group input { 
    width: 100%; 
    padding: 14px 16px; 
    border: 2px solid var(--mcr-border); 
    border-radius: 10px; 
    box-sizing: border-box; 
    transition: all 0.3s ease;
    font-size: 1rem;
}

.mcr-form-group input:focus { 
    outline: none; 
    border-color: var(--mcr-primary); 
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.mcr-submit-button { 
    width: 100%; 
    padding: 16px; 
    background: var(--mcr-primary-gradient); 
    color: var(--mcr-white); 
    border: none; 
    border-radius: 12px; 
    font-size: 1.125rem; 
    font-weight: 600;
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: var(--mcr-shadow-md);
}

.mcr-submit-button:hover { 
    transform: translateY(-2px); 
    box-shadow: var(--mcr-shadow-lg);
    filter: brightness(1.05);
}

.mcr-submit-button:focus { 
    outline: 2px solid var(--mcr-primary); 
    outline-offset: 2px; 
}

/* Confirmation View */
.mcr-modal-confirmation { 
    text-align: center; 
}

.mcr-confirmation-icon { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    width: 80px; 
    height: 80px; 
    border-radius: 50%; 
    background: var(--mcr-success-gradient); 
    margin-bottom: 24px; 
    box-shadow: var(--mcr-shadow-lg);
    animation: mcr-bounce-in 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes mcr-bounce-in {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

.mcr-confirmation-icon svg { 
    width: 40px; 
    height: 40px; 
    color: var(--mcr-white); 
}

.mcr-confirmation-title { 
    font-size: 1.75rem; 
    font-weight: 700; 
    margin: 0 0 12px; 
    background: var(--mcr-success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mcr-confirmation-text { 
    color: var(--mcr-text-medium); 
    margin: 0 0 28px; 
    font-size: 1.125rem;
    line-height: 1.6;
}

.mcr-confirmation-details { 
    margin: 28px 0; 
    padding: 24px; 
    background: var(--mcr-white); 
    border: 2px solid var(--mcr-border); 
    border-radius: 16px; 
    text-align: left; 
    box-shadow: var(--mcr-shadow-sm);
}

.mcr-confirmation-details p { 
    margin: 0 0 16px; 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    font-weight: 500;
}

.mcr-confirmation-details p:last-child { 
    margin-bottom: 0; 
}

.mcr-confirmation-details svg { 
    width: 20px; 
    height: 20px; 
    color: var(--mcr-primary); 
    flex-shrink: 0;
}

.mcr-calendar-buttons { 
    display: flex; 
    gap: 16px; 
    justify-content: center; 
    margin-top: 28px; 
}

.mcr-calendar-button { 
    display: inline-block; 
    padding: 14px 20px; 
    border: 2px solid var(--mcr-border); 
    border-radius: 12px; 
    text-decoration: none; 
    color: var(--mcr-text-dark); 
    font-weight: 600; 
    transition: all 0.3s ease; 
    background: var(--mcr-white);
    box-shadow: var(--mcr-shadow-sm);
}

.mcr-calendar-button:hover { 
    background: var(--mcr-primary); 
    color: var(--mcr-white);
    border-color: var(--mcr-primary);
    transform: translateY(-2px);
    box-shadow: var(--mcr-shadow-md);
}

.mcr-login-message { 
    padding: 60px 40px; 
    text-align: center; 
    background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%);
    border-radius: 20px;
    border: 2px solid rgba(59, 130, 246, 0.1);
}

.mcr-login-message p {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--mcr-text-dark);
}

.mcr-login-message a {
    color: var(--mcr-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--mcr-primary);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mcr-login-message a:hover {
    background: var(--mcr-primary);
    color: var(--mcr-white);
    transform: translateY(-1px);
}

/* --- Enhancements Bento UI --- */
/* Educator cards: indicador de selección y foco accesible */
.mcr-educator-card { position: relative; }
.mcr-educator-card.selected::after { 
    content: "✓"; 
    position: absolute; 
    right: 12px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    background: var(--mcr-success-gradient);
    color: var(--mcr-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: var(--mcr-shadow-md);
}
.mcr-educator-card:focus { outline: 2px solid var(--mcr-primary); outline-offset: 2px; }

/* Weekdays más marcados */
.mcr-weekdays { 
    background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%); 
    border-radius: 12px; 
    padding: 8px 12px; 
}
.mcr-weekdays span { font-weight: 600; }

/* Días más grandes en desktop */
@media (min-width: 1024px) {
  .mcr-day { height: 48px; }
}

/* Slots pegajosos en desktop para mejor UX */
@media (min-width: 1024px) {
  .mcr-time-slots-panel { position: sticky; top: 24px; align-self: start; }
}

/* Botón submit del modal: hover y foco */
.mcr-submit-button:hover { filter: brightness(1.05); }
.mcr-submit-button:focus { outline: 2px solid var(--mcr-primary); outline-offset: 2px; }

/* Botones de calendario externos */
.mcr-calendar-button { background: var(--mcr-white); }
.mcr-calendar-button:hover { border-color: var(--mcr-primary); color: var(--mcr-primary); }

/* Modal close accesible */
.mcr-modal-close-btn:hover { color: var(--mcr-text-dark); }

/* Pequeños ajustes en cabecera del calendario */
.mcr-calendar-header { background: linear-gradient(135deg, var(--mcr-primary-light) 0%, #f0f9ff 100%); border-radius: 16px; }

/* Responsive improvements */
@media (max-width: 768px) {
    .mcr-booking-container {
        margin: 20px auto;
        gap: 16px;
    }
    
    .mcr-info-panel, .mcr-calendar-panel, .mcr-time-slots-panel {
        padding: 20px;
        border-radius: 16px;
    }
    
    .mcr-educator-card {
        padding: 14px;
    }
    
    .mcr-educator-avatar {
        width: 40px;
        height: 40px;
    }
    
    .mcr-day {
        height: 40px;
    }
    
    .mcr-modal-content {
        padding: 24px;
        margin: 20px;
        width: calc(100% - 40px);
        max-width: none;
    }
    
    .mcr-calendar-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    /* Asegurar centrado en móviles */
    .mcr-modal {
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .mcr-modal-content {
        position: relative;
        transform: translateY(-20px) scale(0.95);
    }
    
    .mcr-modal.active .mcr-modal-content {
        transform: translateY(0) scale(1);
    }
}

/* Estilos adicionales para mensajes y estados */
.mcr-no-educator,
.mcr-no-slots,
.mcr-error-message {
  text-align: center;
  padding: 20px;
  color: var(--mcr-text-medium);
  font-weight: 500;
  background: var(--mcr-bg-light);
  border-radius: 12px;
  border: 1px solid var(--mcr-border);
}

.mcr-error-message {
  color: var(--mcr-danger);
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border-color: #fecaca;
}

/* ====== ESTADOS VACÍOS Y MENSAJES ====== */
.mcr-loading-educators {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.mcr-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mcr-loading-educators p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.mcr-empty-state {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    border: 2px dashed #cbd5e1;
}

.mcr-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.mcr-empty-state h4 {
    margin: 0 0 12px 0;
    color: #475569;
    font-size: 18px;
    font-weight: 600;
}

.mcr-empty-state p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}

.mcr-no-educator,
.mcr-no-slots,
.mcr-error-message {
    display: none;
    margin: 20px 0;
}

.mcr-no-educator.show,
.mcr-no-slots.show,
.mcr-error-message.show {
    display: block;
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejoras para el modal */
.mcr-modal-content {
  position: relative;
}

/* Efecto de brillo en botones */
.mcr-submit-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.mcr-submit-button:hover::before {
  left: 100%;
}

/* Mejoras para educadores */
.mcr-educator-card.selected .mcr-educator-avatar {
  border-color: var(--mcr-success);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* Efectos de carga mejorados */
.mcr-skeleton {
  position: relative;
  overflow: hidden;
}

.mcr-skeleton::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}
