@media (min-width: 992px) {
    .welcome-section {
        position: relative;
        width: 100vw;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.btn-custom-blue,
.step.active,
.calendar .today,
.selectable-datetime.selected,
.doctor-info,
.progress-bar,
.doctor-item.selected {
    background-color: #428bca;
    color: white;
}

.btn-custom-blue:hover,
.seleccionar-doctor.selected {
    background-color: #3071a9;
}

.btn-custom-blue {
    border-color: #428bca;
}

.section-custom-blue {
    background-color: #428bca;
    color: white;
    padding: 30px 0;
}

.section-custom-blue h3,
.progress-steps {
    margin-bottom: 20px;
}

.doctor-card {
    margin-bottom: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.doctor-card:hover,
.step:not(.active),
.calendar th,
.calendar-day.disabled {
    background-color: #f8f9fa;
}

.doctor-card .card {
    height: 100%;
}

.doctor-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 10px;
}

.doctor-info {
    padding: 10px;
}

.doctor-name {
    margin: 0;
    font-size: 18px;
}

.doctor-specialty {
    margin: 5px 0 0;
    font-size: 14px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    color: #6c757d;
    position: relative;
    padding: 10px 0;
    border: 1px solid #dee2e6;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%) rotate(45deg);
    width: 30px;
    height: 30px;
    background-color: inherit;
    border-top: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    z-index: 1;
}

.calendar {
    width: 100%;
    border-collapse: collapse;
}

.calendar th, .calendar td {
    border: 1px solid #dee2e6;
    padding: 10px;
    text-align: center;
}

.selectable-datetime,
.calendar-day {
    cursor: pointer;
}

.selectable-datetime:hover,
.calendar-day:hover,
.doctor-item:hover {
    background-color: #e9ecef;
}

#calendar-container,
.doctor-list {
    max-width: 400px;
    margin: 0 auto;
}

#calendar-header,
#calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

#calendar-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 5px;
}

.calendar-day,
.doctor-item {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.doctor-item {
    margin-bottom: 5px;
}

.calendar-day.selected,
.doctor-item.selected {
    background-color: #007bff;
    color: white;
}

.calendar-day.disabled {
    color: #999;
    cursor: not-allowed;
}