/* Estilos específicos para la página de demos */
.demo-hero {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-light) 100%);
    color: white;
    padding: 80px 0 30px;

}

.calendar-container {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-2);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.calendar-nav-btn {
    background: none;
    border: none;
    color: var(--brand-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: var(--transition);
}

.calendar-nav-btn:hover {
    background: var(--background);
    transform: scale(1.1);
}

.calendar-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-month-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--text-2);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    border: 2px solid transparent;
}

.calendar-day:not(.disabled):not(.other-month):hover {
    background: var(--background);
    border-color: var(--brand-primary);
    transform: scale(1.05);
}

.calendar-day.disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day.other-month {
    color: var(--muted);
    opacity: 0.3;
}

.calendar-day.selected {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.calendar-day.today {
    border-color: var(--brand-dark);
    font-weight: 700;
}

.time-slots-container {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-2);
}

.time-slot {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 8px;
    padding: 0.50rem 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.time-slot:hover:not(.disabled) {
    border-color: var(--brand-primary);
    background: var(--background);
    transform: translateX(4px);
}

.time-slot.selected {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.time-slot.disabled:hover {
    transform: none;
    border-color: #dee2e6;
}

.time-slot .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

.time-slot-icon {
    font-size: 1.25rem;
}

.demo-summary {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-dark-light) 100%);
    color: white;
    border-radius: var(--radius);
    padding: 2rem;
    margin-top: 2rem;
}

.summary-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.summary-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--border);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 44px;
    height: 44px;
    background: var(--surface);
    border: 3px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 700;
    color: var(--text-2);
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: white;
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-2);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--brand-primary);
    font-weight: 600;
}

.demo-content {
    display: none;
}

.demo-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.info-card {
    background: var(--background);
    border-left: 4px solid var(--brand-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.info-card h6 {
    color: var(--brand-dark);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.info-card ul {
    margin-bottom: 0;
}

.info-card li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .demo-hero {
        padding: 100px 20px 60px;
    }

    .calendar-container,
    .time-slots-container {
        padding: 1.5rem;
    }

    .calendar-grid {
        gap: 4px;
    }

    .calendar-day {
        font-size: 0.875rem;
    }

    .step-indicator::before {
        left: 10%;
        right: 10%;
    }
}