/* Custom Styles */

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 8px;
    color: #4B5563;
    text-decoration: none;
    transition: all 0.3s;
}

.menu-item i {
    margin-right: 12px;
    width: 20px;
}

.menu-item:hover {
    background-color: #EFF6FF;
    color: #3B82F6;
}

.menu-item.active {
    background-color: #3B82F6;
    color: white;
}

.section-content {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.calendar-day:hover {
    transform: scale(1.05);
}

.calendar-day.available {
    background-color: #D1FAE5;
    color: #065F46;
}

.calendar-day.occupied {
    background-color: #FEE2E2;
    color: #991B1B;
}

.calendar-day.unavailable {
    background-color: #E5E7EB;
    color: #6B7280;
    cursor: not-allowed;
}

.calendar-day.my-service {
    background-color: #DBEAFE;
    color: #1E40AF;
    border: 2px solid #3B82F6;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-agendado {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.status-em_andamento {
    background-color: #FEF3C7;
    color: #92400E;
}

.status-adiado {
    background-color: #E0E7FF;
    color: #3730A3;
}

.status-cancelado {
    background-color: #FEE2E2;
    color: #991B1B;
}

.status-concluido {
    background-color: #D1FAE5;
    color: #065F46;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
