/* Custom styles for Sistema de Agendamento */


:root {
    --primary-color: #222; /* preto minimalista */
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #111;
}

body {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header {
    background-color: var(--light-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.btn {
    border-radius: 0.375rem;
}


.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #444);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.service-card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
}

.professional-card {
    text-align: center;
    padding: 1.5rem;
}

.professional-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.rating {
    color: #ffc107;
}

.calendar-day {
    min-height: 120px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    transition: background-color 0.2s;
}

.calendar-day:hover {
    background-color: #f8f9fa;
}

.calendar-day.selected {
    background-color: var(--primary-color);
    color: white;
}

.calendar-day.disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot {
    padding: 0.5rem;
    margin: 0.25rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.time-slot:hover {
    background-color: #e9ecef;
}

.time-slot.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.time-slot.disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.status-agendado {
    background-color: var(--info-color);
    color: white;
}

.status-confirmado {
    background-color: var(--primary-color);
    color: white;
}

.status-em_andamento {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.status-concluido {
    background-color: var(--success-color);
    color: white;
}

.status-cancelado {
    background-color: var(--danger-color);
    color: white;
}

.dashboard-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.dashboard-stat .display-4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.dashboard-stat .text-muted {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table th {
    background-color: var(--light-color);
    border-top: none;
    font-weight: 600;
}

.form-floating > label {
    color: var(--secondary-color);
}

.login-card {
    max-width: 400px;
    margin: 2rem auto;
}

.register-card {
    max-width: 500px;
    margin: 2rem auto;
}

.loading {
    display: none;
}

.loading.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .professional-avatar {
        width: 60px;
        height: 60px;
    }
    
    .calendar-day {
        min-height: 80px;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .container {
        max-width: none !important;
    }
}
