/* ====================== ESTILOS GENERALES ====================== */
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

/* ====================== CALENDARIO ====================== */
.calendar-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.calendar-header-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background-color: #343a40;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 5px 0;
    border-radius: 5px 5px 0 0;
    font-size: 0.8rem;
}

.day-header {
    padding: 2px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e9ecef;
    border-radius: 0 0 5px 5px;
}

.calendar-day {
    min-height: 60px;
    background-color: #fff;
    padding: 3px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: background 0.2s, transform 0.2s;
    color: #212529;
    font-size: 0.75rem;
}

    .calendar-day:hover {
        background-color: #f1f3f5;
        transform: translateY(-1px);
    }

    .calendar-day.today {
        border: 2px solid #007bff;
        background-color: #cce5ff;
    }

    .calendar-day.outside-month {
        background-color: #f8f9fa;
        color: #6c757d;
    }

.day-number {
    font-weight: bold;
    margin-bottom: 3px;
}

button {
    font-size: 0.65rem;
    padding: 1px;
    border-radius: 2px;
    cursor: pointer;
}

    button.btn-primary {
        background-color: #007bff;
        border-color: #007bff;
        color: #fff;
    }

        button.btn-primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

    button.btn-success {
        background-color: #28a745;
        border-color: #28a745;
        color: #fff;
    }

        button.btn-success:hover {
            background-color: #1e7e34;
            border-color: #1c7430;
        }
.calendar-day .badge {
    font-size: 0.75rem;
    margin-top: 3px;
}

.calendar-day button.badge {
    padding: 0.5em 0;
    font-size: 0.75rem;
    border: none;
}
.day-buttons > * {
    flex: 1 1 auto;
    text-align: center;
}
/* ====================== TOASTS ====================== */
.toast-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.toast-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.toast-error {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
    .calendar-header-grid, .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
    }

    .calendar-day {
        min-height: 50px;
        font-size: 0.65rem;
        padding: 2px;
    }

    .day-number {
        font-size: 0.7rem;
    }

    button {
        font-size: 0.6rem;
        padding: 1px;
    }

    .toast-success, .toast-info, .toast-error {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
} 