﻿.row .col-calendario {
    max-width: 65%;
    margin-top: 10px;
}

.row .col-balances-gastos {
    max-width: 35%;
    padding-top: 10px;
}

.row .col-balances-gastos .card {
    margin-top: 20px;
    background-color: transparent;
    border: 1px solid #F2E6D8;
    text-align: center;
}

.row .col-balances-gastos .card .card-body,
.row .col-balances-gastos .card .card-header,
.row .col-balances-gastos .card .card-footer {
    background-color: transparent;
    padding: 10px;
    border: none;
}

.row .col-balances-gastos .card table {
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    border-collapse: collapse;
    border: 1px solid #F2E6D8;
}

.row .col-balances-gastos .card table th,
.row .col-balances-gastos .card table td {
    border: 1px solid #F2E6D8;
    padding: 8px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.row h1 {
    font-size: 1.5rem;
    margin: 0;
    background-image: linear-gradient(45deg, #282b2db1, #282b2dde);
    box-shadow: 0 15px 15px 1px #282b2d9e;
}


#calendar {
    margin-top: 20px;
    min-width: 100%;
    padding: 10px;
    font-family: Arial, sans-serif !important;
    background-image: linear-gradient(90deg, #f2e6d81d, #F2E6D8);
    border-radius: 15px;
}

.fc-toolbar-title{
    font-weight: bold;
    color: black !important;
    text-transform: uppercase;
    text-decoration: none;
}

.fc .fc-col-header-cell-cushion {
    display: inline-block;
    padding: 1px;
    color: black !important;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
}

.fc .fc-daygrid-day-number {
    color: black !important;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
}

/* Consistent style for today regardless of day of week */
.fc-day-today.fc-daygrid-day {
    background-color: #75071b92 !important;
    border: 3px solid #430611 !important;
}

/* Style for all future days in the calendar */
.fc-day.fc-day-future.fc-daygrid-day {
    background-image: linear-gradient(180deg, #f2e6d841, #F2E6D8);
}

/* Style for all past days in the calendar */
.fc-day.fc-day-past.fc-daygrid-day {
    background-image: linear-gradient(90deg, #f2e6d888, #F2E6D8);
    opacity: 0.8;
}

.fc-daygrid-day-events {
    color: #000;
}

.fc-next-button.fc-button.fc-button-primary,
.fc-prev-button.fc-button-primary {

    background-color: transparent;
    border: none;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-left: 5px;
}

.fc-event-title-container {
    text-align: center;
    color: black !important;
    font-weight: 600;
    font-size: 11px;
}

.fc-icon.fc-icon-chevron-right,
.fc-icon.fc-icon-chevron-left {
    color: rgb(0, 0, 0);
}



:root {
    --fc-list-event-dot-width: 10px;
    --fc-list-event-hover-bg-color: #f5f5f5;
    --fc-border-color: black;
    --fc-daygrid-event-dot-width: 8px;
}





/* Tablets y pantallas medianas */
@media (max-width: 1424px) {
    .row .col-calendario h1 {
        margin: auto;
    }

    .row .col-balances-gastos h1 {
        margin: auto;
    }

    .row .col-calendario {
        max-width: 100%;
    }

    .row .col-balances-gastos {
        max-width: 100%;
        min-width: 300px;
    }

    #calendar {
        min-width: 75%;
    }
}

/* Móviles grandes */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        padding: 5px;
        justify-content: center;
        max-height: 10%;
        gap: 10px;
    }

}

/* Móviles pequeños */
@media (max-width: 480px) {
    .row {
        padding: 8px;
        max-width: 98%;
        gap: 8px;
    }

}

/* Pantallas muy pequeñas */
@media (max-width: 320px) {
    .row {
        padding: 5px;
        max-width: 100%;
        gap: 5px;
    }

}


.Btn .svgB {
    color: #000;
    transition-duration: .5s;
}


.Btn:hover span {
    color: transparent;
}

.Btn:hover .svgB {
    transition-duration: .5s;
    transform: translateX(-125%) scale(1.2);
}



#modalGasto .modal-dialog {
    max-width: clamp(50vw, 900px, 60vw);
}


#modalEditarGasto .modal-dialog {
    max-width: clamp(50vw, 900px, 60vw);
}

#modalGasto .modal-content #monto {
    margin-top: 20px;
}

.modal-header  h1{
    background-image: linear-gradient(45deg, #282b2d74, #282b2dbe);
    box-shadow: 0 15px 15px 1px #282b2d9e;
    color: black;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.modal-body form {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

#modalGasto .form__field:focus+#labelMonto,
#modalGasto .form__field:not(:placeholder-shown)+#labelMonto {
    top: 0.8rem;
    left: 0.5rem;
}

#modalEditarGasto .form__field:focus+#labelFecha,
#modalEditarGasto .form__field:not(:placeholder-shown)+#labelFecha {
    top: 0.8rem;
    left: 0.5rem;
}

#grupoMonto {
    margin-top: -20px;
}