﻿.validation-message {
    color: red;
}

.icon-button {
    border: 0;
    background-color: transparent;
    cursor: pointer;
    outline: none;
    user-select: none;
}
.icon-button:hover {
    color: #007bff;
}

.icon-button:active {
    transform: scale(0.95);
}

/* vvv Asistencias vvv */
.card-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 15px;
}

.attendance-section {
    width: calc(25% - 20px);
    margin-bottom: 20px;
}

.section-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.title-dark-red {
    color: darkred;
}

.time-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.time-list li {
    margin-bottom: 5px;
}

.timeline {
    margin-top: 20px;
    position: relative;
    height: 150px;
    padding: 15px;
}

.timeline-bar {
    position: absolute;
    height: 2px;
    background-color: #ddd;
    left: 40px;
    right: 0;
}

.timeline-segment {
    position: absolute;
    height: 20px;
    border-radius: 2px;
    left: 40px;
}

.timeline-segment.schedule {
    background-color: #4CAF50;
    top: 10px;
}

.timeline-segment.presence {
    background-color: #2196F3;
    top: 50px;
}

.timeline-segment.combined {
    top: 90px;
}

.timeline-segment.overlap {
    background-color: #9C27B0;
}

.timeline-segment.schedule-only {
    background-color: #FF9800;
}

.timeline-segment.presence-only {
    background-color: #00BCD4;
}

.timeline-label {
    position: absolute;
    left: 0;
    width: 40px;
    text-align: right;
    padding-right: 5px;
    font-size: 12px;
}

.timeline-hour-marks {
    position: absolute;
    left: 40px;
    right: 0;
    top: 0;
    bottom: 0;
}

.timeline-hour-mark {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: #ccc;
}

.timeline-hour-label {
    position: absolute;
    top: 130px;
    font-size: 10px;
    transform: translateX(-50%);
}
/* ^^^ Fin Asistencias ^^^ */