﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

.btn-primary {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    transition: all 0.2s ease;
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #075985 0%, #0369a1 100%);
    }

.btn-outline {
    border: 1px solid #0284c7;
    color: #0284c7;
    transition: all 0.2s ease;
}

    .btn-outline:hover {
        background-color: #f0f9ff;
    }

.header-gradient {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
}

.card {
    transition: all 0.3s ease;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }


.tab-active {
    color: #0284c7;
    border-bottom: 2px solid #0284c7;
    font-weight: 500;
}

.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }


.vote-favor {
    background-color: #dcfce7;
    color: #16a34a;
}

.vote-against {
    background-color: #fee2e2;
    color: #dc2626;
}

.vote-abstain {
    background-color: #f1f5f9;
    color: #64748b;
}

.vote-absent {
    background-color: #fef9c3;
    color: #ca8a04;
}

.attendance-present {
    color: #16a34a;
}

.attendance-absent {
    color: #dc2626;
}

.attendance-justified {
    color: #ca8a04;
}

.attendance-late {
    color: #6366f1;
}

.search-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

.badge {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-weight: 500;
}

.badge-blue {
    background-color: #e0f2fe;
    color: #0284c7;
}

.badge-green {
    background-color: #dcfce7;
    color: #16a34a;
}

.badge-yellow {
    background-color: #fef9c3;
    color: #ca8a04;
}

.badge-red {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-purple {
    background-color: #f3e8ff;
    color: #9333ea;
}

.badge-gray {
    background-color: #f1f5f9;
    color: #64748b;
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem;
    position: relative;
}

.calendar-day-number {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.calendar-day-event {
    width: 100%;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.7rem;
    margin-bottom: 0.125rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .calendar-day-event.ordinaria {
        background-color: #e0f2fe;
        color: #0284c7;
    }

    .calendar-day-event.extraordinaria {
        background-color: #f3e8ff;
        color: #9333ea;
    }

    .calendar-day-event.solene {
        background-color: #fef9c3;
        color: #ca8a04;
    }

    .calendar-day-event.audiencia {
        background-color: #dcfce7;
        color: #16a34a;
    }


.timeline-container {
    position: relative;
}

    .timeline-container::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 15px;
        width: 2px;
        background-color: #e2e8f0;
    }

.timeline-item {
    position: relative;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    left: 9px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #0284c7;
    border: 2px solid #fff;
    z-index: 1;
}

    .timeline-dot.green {
        background-color: #16a34a;
    }

    .timeline-dot.yellow {
        background-color: #ca8a04;
    }

    .timeline-dot.red {
        background-color: #dc2626;
    }

    .timeline-dot.gray {
        background-color: #64748b;
    }

.pagination-active {
    background-color: #0284c7;
    color: white;
}

.pagination-item {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

    .pagination-item:hover:not(.pagination-active) {
        background-color: #e0f2fe;
    }

.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

    .dropdown-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.tooltip {
    position: relative;
}

    .tooltip .tooltip-text {
        visibility: hidden;
        width: auto;
        min-width: 120px;
        background-color: #1e293b;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 10px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        transition: opacity 0.3s;
        font-size: 0.75rem;
        white-space: nowrap;
    }

        .tooltip .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #1e293b transparent transparent transparent;
        }

    .tooltip:hover .tooltip-text {
        visibility: visible;
        opacity: 1;
    }

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}
