#appointments-container {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
}

.day-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.day-header { 
    display: flex;
    align-items: center;
    gap: 1%;
    margin-bottom: 0.5rem; 
}

.day-date {
    color: #333;
}

.day-relative {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0;
}

.appointment {
    display: grid;
    grid-template-columns: auto 10px 1fr; /* Time | Sidebar | Content */
    gap: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 10px;
    position: relative; /* For absolute positioning if needed */
}

.side-bar {
    width: 10px;
    /*background-color: #3498db;*/ /* Blue color */
    border-radius: 5px; /* Rounded top and bottom */
    height: 100%; /* Full height of appointment */
    margin: 2px 0; /* Small vertical spacing */
}

.appointment-time {
    font-weight: bold;
    color: #2c3e50;
    align-self: center;
    white-space: nowrap; /* Prevent time from wrapping */
    padding-right: 8px;
}

.appointment-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 8px;
}

.appointment-location {
    margin: 0;
    color: #2c3e50;
    font-size: 1rem;
}

.appointment-code {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.appointment-status {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
}

.status-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: middle;
}
    .icon-circle i {
        font-size: 12px;
        color: white !important;
    }

/* Corona */
.icon-crown-icon {
    margin-left: 3px;
    color: #f1c40f; /* Amarillo */
    font-size: 16px;
}
/* Estilos por tipo operación */
.operating-status-load {
    background-color: #367236;
}

.operating-status-unload {
    background-color: #C82424;
}

.operating-status-mixed {
    background-color: #6403d0;
}

.operating-status-prioritary {
    background-color: #EBBB30;
}

/*Mensajes flujo de excepciones*/
.error-message {
    background-color: #fdecea;
    border-left: 4px solid #f44336;
    color: #5f2120;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin: 10px 0;
}

.info-message {
    background-color: #e8f4fd;
    border-left: 4px solid #2196f3;
    color: #0d3c61;
    padding: 15px;
    border-radius: 0 5px 5px 0;
    margin: 10px 0;
}

    .error-message p,
    .info-message p {
        margin: 0;
        line-height: 1.5;
    }

.day-date-container{
    width: 10%;
}
.day-name-container{
    width: 84%;
}
.day-date-container, .day-name-container {
    display: inline-block; /* ¡Clave! */
    vertical-align: middle; /* Alinea verticalmente */
}