﻿
/* ---------------------------------------------------------CONTENT----------------------------------------------------------- */
/* CONTAINER */
.content-container {
    background: #fff;
    padding: 20px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.form-container {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

.title-container {
    background: #BFD5FF;
    padding: 5px 0px 0px 0px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    display: flex;
    justify-content: center;
}

.ventana-container {
    background: #fff;
    padding: 0px 20px 10px 20px;
}

.info-container {
    background-color: black;
    font-weight: bold;
    font-size: 18px;
    color: white;
    padding: 5px 10px 5px 10px;
    border-radius: 8px;
}

/* INICIO */
.chronometer-display {
    margin: 0 0;
}

.time-display {
    font-size: 3rem;
    font-family: monospace;
    color: #333;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fafafa;
    display: inline-block;
    min-width: 160px;
}

.controls {
    margin: 30px 0;
}

/* ASISTENCIA */
.asistencia-container {
    overflow-x: scroll;
    overflow-y: unset;
    height: 105px;
}

.asistencia-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.aligned {
    display: flex;
    gap: 20px;
}

.user-info-btn {
    height: 60px;
    width: 60px;
    background-color: black;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.user-info-img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
}

/* TOOLTIPS */
.tooltiptext {
    height: 30px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    z-index: 1;
    overflow: auto;
}

/* BUTTONS */
.btn-confirm {
    background-color: white;
    color: #333;
    border: 2px solid #333;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-confirm:hover:not(:disabled) {
        background-color: #00008B; /* Dark blue */
        color: white;
        border-color: #00008B;
    }

    .btn-confirm:disabled {
        background-color: #CCCCCC; /* Grey */
        color: #666;
        border-color: #999;
        cursor: not-allowed;
        opacity: 0.7;
    }

    .btn-confirm:active:not(:disabled) {
        transform: scale(0.98);
    }

.grid-title {
    font-style: italic;
}

/* FORMS */
.form-aligned {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.form-label {
    margin-bottom: 0;
    font-weight: 500;
    font-size: 16px;
    text-align: left;
}

.fl-sm {
    min-width: 40px;
    max-width: 40px;
}

.fl-md {
    min-width: 75px;
    max-width: 75px;
}

.fl-lg {
    min-width: 110px;
    max-width: 110px;
}

.input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fc-custom {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.428571429;
    color: #555555;
    vertical-align: middle;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

    .fc-custom:focus {
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
    }

/* SHAPES */
.form-shapes {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-info {
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.circle {
    height: 30px;
    width: 30px;
    background-color: #99BEFF;
    border-radius: 50%;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* SIDE-IMAGES */
.img-btn {
    background-size: 30px 30px;
    background-repeat: no-repeat;
    padding-left: 45px;
}

.img-btn-sm {
    background-size: 30px 30px !important;
    background-repeat: no-repeat !important;
    padding-left: 33px !important;
}

.img-btn-save {
    background-image: url(/Content/images/guardar.svg);
    background-position: 10px 2px;
}

.img-btn-cal {
    background-image: url(/Content/images/AsignarCalendario.svg);
    background-position: 10px 5px;
}

.img-btn-pdf {
    background-image: url(/Content/images/pdf.svg);
    background-position: 10px 7px;
}

.img-btn-excel {
    background-image: url(/Content/images/excel.svg);
    background-position: 10px 7px;
}

.img-btn-upload {
    background-image: url(/Content/images/AsignarCalendario.svg);
    background-position: 10px 5px;
}

.img-btn-fil {
    background-image: url(/Content/images/filter.svg);
    background-position: 10px 5px;
}

.img-btn-add {
    background-image: url(/Content/images/anadir.svg);
    background-position: 10px 5px;
}

.img-btn-edit {
    background-image: url(/Content/images/edit.svg);
    background-position: 10px 5px;
}

.img-btn-del {
    background-image: url(/Content/images/delete.svg);
    background-position: 10px 5px;
}

.img-btn-conf {
    background-image: url(/Content/images/confirmar.png);
    background-position: 1px 2px !important;
}

/* IMAGE BORDERS */
.image-border {
    background-color: black;
    width: 210px;
    height: 210px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-border-long {
    background-color: black;
    height: 100px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* WINDOWS */
.title-window {
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
}

/* SEPARATORS */
.separator-title {
    height: 2px;
    border-width: 0;
    color: black;
    background-color: black;
    margin-top: 0px;
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-aligned {
        flex-direction: column;
        align-items: stretch;
    }

    .form-shapes {

    }

    .form-label {
        padding-right: 0;
        margin-bottom: 5px;
    }

    .form-container {
        padding: 20px;
    }

    .begin-container {
        padding: 20px;
    }

    .content-container {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 15px;
    }

    .begin-container {
        padding: 15px;
    }

    .content-container {
        padding: 15px;
    }
}
