/* Step Indicator Styles */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.step-indicator:before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.step-dot {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #6c757d;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-dot.active {
    background-color: #667eea;
    border-color: #667eea;
    color: white;
    transform: scale(1.1);
}

.step-dot.completed {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

.step-dot.inactive {
    background-color: #e9ecef;
    border-color: #dee2e6;
    color: #6c757d;
}

/* Responsive pentru step indicator */
@media (max-width: 768px) {
    .step-indicator {
        margin-bottom: 20px;
    }
    
    .step-dot {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .step-indicator:before {
        top: 12px;
    }
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
    margin-top: 15px;
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    min-height: 200px;
    background-color: #f8f9fa;
    width: 100%;
}

.time-slot-btn {
    padding: 15px 5px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.time-slot-btn:hover:not(.disabled):not(.selected) {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.15);
}

.time-slot-btn.selected {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.time-slot-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8f9fa;
    color: #6c757d;
}

.time-slot-btn.unavailable {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    text-decoration: line-through;
}

.no-time-slots {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
    font-style: italic;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Responsive pentru grid ore */
@media (max-width: 768px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 10px;
        padding: 15px;
        min-height: 180px;
    }
    
    .time-slot-btn {
        padding: 12px 4px;
        font-size: 0.9rem;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
        padding: 12px;
        min-height: 160px;
    }
    
    .time-slot-btn {
        padding: 10px 3px;
        font-size: 0.8rem;
        height: 40px;
    }
}

/* Loading state pentru ore */
.time-slots-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.time-slots-loading .spinner-border {
    width: 2rem;
    height: 2rem;
}

/* Container pentru time slots */
#timeSlotsContainer {
    width: 100%;
}