/* AgendaBeauty - Estilos do Dashboard */
/* Estilos específicos para o dashboard principal */

/* Layout do Dashboard */
.dashboard-body {
    display: flex;
    min-height: 100vh;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

/* Barra Lateral */
.sidebar {
    width: 280px;
    background: #1c1c1c;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Estilização da scrollbar da sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.6);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
    background: #1c1c1c;
    position: sticky;
    top: 0;
    z-index: 10;
}

.sidebar-header .logo-icon {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 10px;
    display: block;
}

.sidebar-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Navegação da Sidebar */
.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.sidebar-nav a:hover,
.sidebar-nav li.active a {
    background: rgba(212, 175, 55, 0.1);
    border-left-color: #d4af37;
    color: #d4af37;
}

.sidebar-nav i {
    width: 20px;
    margin-right: 15px;
    font-size: 1.1rem;
}

.sidebar-nav span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Dropdown na Sidebar */
.sidebar-nav .dropdown {
    position: relative;
}

.sidebar-nav .dropdown-toggle {
    position: relative;
}

.sidebar-nav .dropdown-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.sidebar-nav .dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.sidebar-nav .dropdown-menu {
    display: none;
    background: transparent;
    border-left: none;
    margin-left: 0;
    border-radius: 0;
    box-shadow: none;
    position: static;
    z-index: auto;
}

.sidebar-nav .dropdown.open .dropdown-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.sidebar-nav .dropdown-menu li {
    margin: 0;
}

.sidebar-nav .dropdown-menu a {
    padding: 12px 25px 12px 45px;
    font-size: 0.9rem;
    border-left: 3px solid transparent;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-nav .dropdown-menu a:hover,
.sidebar-nav .dropdown-menu li.active a {
    background: rgba(212, 175, 55, 0.15);
    border-left-color: #d4af37;
    color: #d4af37;
}

.sidebar-nav .dropdown-menu i {
    width: 16px;
    margin-right: 12px;
    font-size: 1rem;
}

/* Footer da Sidebar */
.sidebar-footer {
    padding: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    flex-shrink: 0;
    background: #1c1c1c;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Estilos para Cards de Tema */
.theme-selection {
}

.theme-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.theme-card {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-card:hover {
    border-color: #d4af37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.theme-card.selected {
    border-color: #d4af37;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.theme-card.selected::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d4af37, #f4d03f);
}

.theme-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.theme-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.light-theme .theme-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.dark-theme .theme-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
}

.theme-header h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3436;
}

.theme-header p {
    margin: 0;
    color: #636e72;
    font-size: 0.9rem;
}

/* Botões de tour guiado (Driver.js) */
button[id^="btn-start-tour-"] {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transition: all 0.2s ease;
}

button[id^="btn-start-tour-"] i {
    font-size: 0.85rem;
}

button[id^="btn-start-tour-"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

button[id^="btn-start-tour-"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

button[id^="btn-start-tour-"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5);
}

.theme-preview {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-colors {
    margin-bottom: 1.5rem;
}

.theme-colors h4 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3436;
}

.color-swatches {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.1);
}

.theme-actions {
    text-align: center;
}

.theme-actions .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Responsividade */
@media (max-width: 768px) {
    .theme-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .theme-card {
        padding: 1rem;
    }
    
    .color-swatches {
        justify-content: center;
    }
}

.logout-btn {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #ffffff;
    text-decoration: none;
    background: rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.logout-btn:hover {
    background: rgba(244, 67, 54, 0.2);
    color: #ff6b6b;
}

.logout-btn i {
    margin-right: 10px;
}

/* Conteúdo Principal */
.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Cabeçalho */
.header {
    background: #ffffff;
    padding: 20px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: none;
}

.header-left h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 5px 0;
}

.header-left p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* Informações do Usuário */
.user-avatar {
    width: 40px;
    height: 40px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 0.9rem;
}

.business-name {
    color: #666;
    font-size: 0.8rem;
}

/* Dropdown do Usuário */
.user-dropdown {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.user-info.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.dropdown-arrow {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.user-info.active .dropdown-arrow {
    transform: rotate(180deg);
    color: #d4af37;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

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

.dropdown-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-header .user-avatar {
    width: 45px;
    height: 45px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.dropdown-header .user-details {
    flex: 1;
}

.dropdown-header .user-name {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 1rem;
    margin-bottom: 2px;
}

.dropdown-header .business-name {
    color: #666;
    font-size: 0.85rem;
}

.dropdown-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #1c1c1c;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.05);
    color: #d4af37;
}

.dropdown-item i {
    width: 16px;
    font-size: 0.9rem;
}

.dropdown-item.logout-item {
    color: #f44336;
}

.dropdown-item.logout-item:hover {
    background: rgba(244, 67, 54, 0.05);
    color: #f44336;
}

/* Conteúdo do Dashboard */
.dashboard-content {
    flex: 1;
    padding: 30px;
    background: #f8f9fa;
}

/* Coluna Tour + Ver Página: tour se estende; Ver Página do tamanho do tour; alinhada à direita */
.tour-ver-pagina-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    margin: 10px 0 0 auto;
    width: fit-content;
}
.tour-ver-pagina-col .btn {
    width: 230px;
    padding: 8px 18px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}
.tour-ver-pagina-col .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}
.tour-ver-pagina-col .btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.tour-ver-pagina-col .btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5);
}
.tour-ver-pagina-col .btn-ver-pagina {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
    padding: 8px 18px !important;
}

/* Cards de Resumo */
.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1c1c1c;
    margin: 0 0 5px 0;
}

.card-content p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.summary-card small {
    display: block;
    margin-top: 4px;
    color: #666;
    font-size: 0.8rem;
}

/* Cards de exemplo usados nos tours (Agenda e Avaliações) */
.tour-example-appointment,
.tour-example-evaluation,
.tour-example-professional,
.tour-example-product,
.tour-example-category,
.tour-example-income,
.tour-example-expense,
.tour-example-tag {
    max-width: 300px;
}

/* Cards Principais */
.main-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.view-all {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #b8941f;
    text-decoration: underline;
}

.period {
    background: #d4af37;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 25px;
}

/* Lista de Agendamentos */
.appointments-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.appointment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.appointment-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.appointment-time {
    min-width: 60px;
}

.appointment-time .time {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 0.9rem;
}

.appointment-details {
    flex: 1;
}

.appointment-details h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 3px 0;
}

.appointment-details p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Status genéricos (usados em produtos, profissionais, etc.) */
.status-badge.status-ativo {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

.status-badge.status-inativo {
    background: rgba(108, 117, 125, 0.12);
    color: #6c757d;
}

.status-confirmado {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.status-pendente {
    background: rgba(255, 152, 0, 0.1);
    color: #ff9800;
}

/* Estado Vazio */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #ffffff;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
    margin: 20px 0;
}

.empty-state i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.empty-state p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Resumo Financeiro */
.financial-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: #1c1c1c;
}

.item-label i {
    width: 20px;
    text-align: center;
}

.income .item-label i {
    color: #4caf50;
}

.expenses .item-label i {
    color: #f44336;
}

.profit .item-label i {
    color: #d4af37;
}

.item-value {
    font-weight: 600;
    font-size: 1.1rem;
}

.income .item-value {
    color: #4caf50;
}

.expenses .item-value {
    color: #f44336;
}

.profit .item-value {
    color: #d4af37;
}

/* Gráfico Placeholder */
.chart-placeholder {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    height: 100px;
    margin-bottom: 15px;
}

.bar {
    width: 20px;
    border-radius: 3px 3px 0 0;
    transition: all 0.3s ease;
}

.chart-placeholder p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Lista de Serviços */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.service-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 5px 0;
}

.service-info p {
    color: #666;
    margin: 0;
    font-size: 0.85rem;
}

.service-chart {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 120px;
}

.progress-bar {
    width: 80px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #d4af37 0%, #b8941f 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.percentage {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1c1c1c;
    min-width: 30px;
}

/* Lista de Atividades */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(212, 175, 55, 0.05);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-details {
    flex: 1;
}

.activity-details p {
    margin: 0 0 3px 0;
    font-size: 0.9rem;
    color: #1c1c1c;
}

.activity-details strong {
    color: #d4af37;
}

.activity-time {
    color: #666;
    font-size: 0.8rem;
}

/* Rodapé */
.footer {
    background: #ffffff;
    padding: 20px 30px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 1200px) {
    .main-cards {
        grid-template-columns: 1fr;
    }
}

/* Botão de toggle para menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #1c1c1c;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
    margin-right: 15px;
    transition: color 0.3s ease;
    z-index: 1002;
}

.mobile-menu-toggle:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .header {
        justify-content: space-between;
    }
    
    .header-left {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
    }
    
    .sidebar.open {
        transform: translateX(0);
    }
    
    
    .main-content {
        margin-left: 0;
    }
    
    .summary-cards {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .header {
        padding: 15px 20px;
    }
    
    .dashboard-content {
        padding: 20px;
    }
    
    .header-left h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .user-details {
        display: none;
    }
    
    .dropdown-menu {
        width: 250px;
        right: -10px;
    }
    
    .dropdown-header {
        padding: 15px;
    }
    
    .dropdown-item {
        padding: 10px 15px;
    }
    
    .financial-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .service-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .service-chart {
        width: 100%;
        justify-content: space-between;
    }
}

/* ===== ESTILOS DA PÁGINA DE SERVIÇOS ===== */

/* Header da Página */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.page-header .header-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.page-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header h2 i {
    color: #d4af37;
    font-size: 22px;
}

.page-header p {
    color: #666;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.page-header .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Responsividade do Page Header */
@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .page-header h2 {
        font-size: 20px;
    }
    
    .page-header .header-right {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Card de Serviço */
.service-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Header do Serviço */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.service-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.professional-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.professional-avatar i {
    font-size: 1.5rem;
    color: #ffffff;
}

.service-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Status Badge */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-inactive {
    background: rgba(158, 158, 158, 0.1);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

/* Cards com status */
.service-card.inactive {
    opacity: 0.7;
    background: #f5f5f5;
}

.service-card.inactive .service-header h3 {
    color: #666;
}

.service-card.inactive .service-price {
    background: #9e9e9e;
}

.service-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
    line-height: 1.2;
}

.service-price {
    background: #d4af37;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Detalhes do Serviço */
.service-details {
    margin-bottom: 15px;
    flex: 1;
}

.service-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.9rem;
}

.service-info i {
    color: #d4af37;
    font-size: 1rem;
}

.service-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
}

/* Ações do Serviço */
.service-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.service-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #1c1c1c;
}

/* Formulário do Modal */
.modal-form {
    padding: 30px;
}

.modal-form p {
    font-size: 1rem;
    color: #1c1c1c;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

/* Responsividade para Serviços */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 20px;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .service-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 15px;
    }
    
    .service-header h3 {
        font-size: 1.1rem;
    }
    
    .service-price {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-form {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
}

/* ===== ESTILOS DA PÁGINA DE CRIAÇÃO DE SERVIÇO ===== */

/* Formulário de Serviço */
.service-form {
    max-width: 100%;
}

/* ===== ESTILOS DA PÁGINA DE CRIAÇÃO DE PROFISSIONAL ===== */

/* Formulário de Profissional */
.professional-form {
    max-width: 100%;
}

/* Formulário de Profissional - Campos */
.professional-form .form-group {
    margin-bottom: 25px;
}

.professional-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.professional-form label i {
    color: #d4af37;
    width: 16px;
    text-align: center;
}

.professional-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1c1c1c;
}

.professional-form .form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.professional-form .form-control::placeholder {
    color: #999;
}

/* Select Personalizado para Profissionais */
.professional-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Texto de Ajuda para Profissionais */
.professional-form .form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Layout de Formulário para Profissionais */
.professional-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Ações do Formulário para Profissionais */
.professional-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.professional-form .form-actions .btn {
    min-width: 120px;
}

/* Seções do Formulário */
.form-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
}

.form-section h4 i {
    color: #d4af37;
    font-size: 1.1rem;
}

/* Upload de Arquivo */
.file-upload-container {
    position: relative;
    margin-top: 10px;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
    top: 0;
    left: 0;
}

.file-upload-preview {
    border: 2px dashed rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-upload-preview:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.02);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 10px;
}

.upload-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0;
}

.upload-placeholder span {
    font-size: 0.9rem;
    color: #666;
}

#photoPreview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Multiselect de Serviços */
.services-multiselect {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.service-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-checkbox:hover {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.02);
}

.service-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d4af37;
    border-radius: 4px;
    background: #ffffff;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.service-checkbox input[type="checkbox"]:checked + .checkbox-custom {
    background: #d4af37;
}

.service-checkbox input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    line-height: 1;
}

.service-info {
    flex: 1;
}

.service-name {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 0.95rem;
}

/* Responsividade para Profissionais */
@media (max-width: 1200px) {
    .professionals-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .professionals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .professional-card {
        padding: 20px;
    }
    
    .professional-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .professional-actions {
        flex-direction: column;
    }
    
    .professional-form {
        max-width: 100%;
    }
    
    .form-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .form-section h4 {
        font-size: 1.2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .services-multiselect {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-checkbox {
        padding: 12px;
    }
    
    .upload-placeholder i {
        font-size: 2rem;
    }
    
    .upload-placeholder p {
        font-size: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 15px;
    }
    
    .form-section h4 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .file-upload-preview {
        padding: 20px;
        min-height: 120px;
    }
    
    .upload-placeholder i {
        font-size: 1.8rem;
    }
}

.service-form .form-group {
    margin-bottom: 25px;
}

.service-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.service-form label i {
    color: #d4af37;
    width: 16px;
    text-align: center;
}

.service-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1c1c1c;
}

.service-form .form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.service-form .form-control::placeholder {
    color: #999;
}

/* Input Group para Preço */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
    position: absolute;
    left: 15px;
    color: #666;
    font-weight: 600;
    z-index: 1;
}

.input-group .form-control {
    padding-left: 40px;
}

/* Select Personalizado */
.service-form select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

/* Textarea */
.service-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* Texto de Ajuda */
.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

/* Ações do Formulário */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.form-actions .btn {
    min-width: 120px;
}

/* Responsividade para Criação de Serviço */
@media (max-width: 768px) {
    .service-form {
        max-width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .service-form .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .service-form label {
        font-size: 0.9rem;
    }
    
    .form-help {
        font-size: 0.8rem;
    }
}

/* ===== MENSAGENS DE ALERTA ===== */

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ===== ESTILOS DA PÁGINA DE PROFISSIONAIS ===== */

/* Grid de Profissionais */
.professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    min-height: 200px;
}

/* Card de Profissional */
.professional-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.professional-card:hover {
    background: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

/* Estados dos Cards */
.professional-card.inactive {
    opacity: 0.7;
    background: #f5f5f5;
}

.professional-card.inactive .professional-name {
    color: #666;
}

/* Header do Profissional */
.professional-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.professional-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.professional-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

/* Detalhes do Profissional */
.professional-details {
    margin-bottom: 15px;
    flex: 1;
}

.professional-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 12px 0;
}

.professional-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
    font-size: 0.9rem;
}

.professional-info i {
    color: #d4af37;
    width: 16px;
    text-align: center;
    font-size: 1rem;
}

/* Ações do Profissional */
.professional-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.professional-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

/* Estado Vazio para Profissionais */
.professionals-grid .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #ffffff;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
    margin: 20px 0;
}

.professionals-grid .empty-state i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.professionals-grid .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.professionals-grid .empty-state p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.professionals-grid .empty-state .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.professionals-grid .empty-state .btn i {
    font-size: 1rem;
    margin: 0;
    opacity: 1;
}

/* Utilitários */
.mt-3 {
    margin-top: 1rem;
}

/* Responsividade para Profissionais */
@media (max-width: 768px) {
    .professionals-grid .empty-state {
        padding: 40px 20px;
    }
    
    .professionals-grid .empty-state i {
        font-size: 3rem;
    }
    
    .professionals-grid .empty-state h3 {
        font-size: 1.3rem;
    }
    
    .professionals-grid .empty-state p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .professionals-grid .empty-state {
        padding: 30px 15px;
    }
    
    .professionals-grid .empty-state i {
        font-size: 2.5rem;
    }
    
    .professionals-grid .empty-state h3 {
        font-size: 1.2rem;
    }
}

.alert-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.alert-link:hover {
    opacity: 0.8;
}

/* Alertas específicos para formulários */
.professional-form .alert,
.client-form .alert {
    margin-bottom: 25px;
}

.alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.alert-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #2e7d32;
}

.alert-success i {
    color: #4caf50;
}

.alert-danger {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #c62828;
}

.alert-danger i {
    color: #f44336;
}

.alert-warning {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    color: #ef6c00;
}

.alert-warning i {
    color: #ff9800;
}

.alert-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    color: #1565c0;
}

.alert-info i {
    color: #2196f3;
}

/* ===== ESTILOS DA PÁGINA DE CLIENTES ===== */

/* Grid de Clientes */
.clients-grid {
    min-height: 200px;
}

/* Estado Vazio para Clientes */
.clients-grid .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #ffffff;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
    margin: 20px 0;
}

.clients-grid .empty-state i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.clients-grid .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.clients-grid .empty-state p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Tabela de Clientes */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.clients-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.clients-table th {
    background: #f8f9fa;
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: #1c1c1c;
    border-bottom: 2px solid #e0e0e0;
    font-size: 0.9rem;
}

.clients-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.clients-table tr:hover {
    background: rgba(212, 175, 55, 0.02);
}

.clients-table tr.inactive {
    opacity: 0.7;
    background: #f8f9fa;
}

.clients-table tr.inactive .client-name {
    color: #666;
}

/* Informações do Cliente */
.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar {
    width: 40px;
    height: 40px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 0.95rem;
}

.client-age {
    font-size: 0.8rem;
    color: #666;
}

/* Ações da Tabela */
.table-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-start;
}

.table-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    min-width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Formulário de Cliente */
.client-form {
    max-width: 100%;
}

.client-form .form-group {
    margin-bottom: 25px;
}

.client-form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.client-form label i {
    color: #d4af37;
    width: 16px;
    text-align: center;
}

.client-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1c1c1c;
}

.client-form .form-control:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.client-form .form-control::placeholder {
    color: #999;
}

.client-form .form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
}

.client-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.client-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.client-form .form-actions .btn {
    min-width: 120px;
}

/* Responsividade para Clientes */
@media (max-width: 768px) {
    .clients-grid .empty-state {
        padding: 40px 20px;
    }
    
    .clients-grid .empty-state i {
        font-size: 3rem;
    }
    
    .clients-grid .empty-state h3 {
        font-size: 1.3rem;
    }
    
    .clients-grid .empty-state p {
        font-size: 0.9rem;
    }
    
    .clients-table th,
    .clients-table td {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .client-info {
        gap: 8px;
    }
    
    .client-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .client-name {
        font-size: 0.9rem;
    }
    
    .client-age {
        font-size: 0.75rem;
    }
    
    .table-actions {
        flex-direction: column;
        gap: 5px;
    }
    
    .table-actions .btn-sm {
        width: 35px;
        height: 30px;
        font-size: 0.75rem;
    }
    
    .client-form {
        max-width: 100%;
    }
    
    .client-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .client-form .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .client-form .form-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .clients-grid .empty-state {
        padding: 30px 15px;
    }
    
    .clients-grid .empty-state i {
        font-size: 2.5rem;
    }
    
    .clients-grid .empty-state h3 {
        font-size: 1.2rem;
    }
    
    .clients-table th,
    .clients-table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .client-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .client-name {
        font-size: 0.85rem;
    }
    
    .client-age {
        font-size: 0.7rem;
    }
    
    .table-actions .btn-sm {
        width: 30px;
        height: 28px;
        font-size: 0.7rem;
    }
}

/* ========================================
   ESTILOS DO MÓDULO AGENDA
   ======================================== */

/* Legenda de Status */
.status-legend {
    background: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50% !important;
    flex-shrink: 0;
}

.legend-color.agendado {
    background: #28a745;
}

.legend-color.concluido {
    background: #d4af37;
}

.legend-color.cancelado {
    background: #dc3545;
}

.legend-color.aguardando {
    background: #fd7e14;
}

.legend-item span {
    font-size: 0.9rem;
    color: #2d3436;
}

.legend-item span strong {
    color: #d4af37;
}

/* Grid de Agendamentos */
.appointments-grid {
    min-height: 200px;
}

/* Cards de Agendamentos */
.appointments-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.appointment-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    position: relative;
}

.appointment-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Estados dos Cards */
.appointment-card.cancelado {
    opacity: 0.7;
}

.appointment-card.nao_compareceu {
    opacity: 0.7;
}

/* Header do Card */
.appointment-header {
    margin-bottom: 15px;
}

.appointment-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.client-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
}

.client-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.client-name {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 1rem;
    margin: 0;
}

.appointment-service {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.appointment-status {
    flex-shrink: 0;
}

/* Detalhes do Agendamento */
.appointment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #1c1c1c;
}

.detail-item i {
    color: #d4af37;
    width: 16px;
    text-align: center;
    font-size: 0.9rem;
}

/* Ações do Card */
.appointment-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.appointment-actions .btn-sm {
    padding: 8px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

/* Estado Vazio para Agendamentos */
.appointments-grid .empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    background: #ffffff;
    border-radius: 15px;
    border: 2px dashed #e0e0e0;
    margin: 20px 0;
}

.appointments-grid .empty-state i {
    font-size: 4rem;
    color: #d4af37;
    margin-bottom: 20px;
    display: block;
    opacity: 0.6;
}

.appointments-grid .empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1c1c1c;
    margin: 0 0 10px 0;
}

.appointments-grid .empty-state p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Filtros de Agendamentos */
.filters-section {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.filters-form {
    margin-bottom: 0;
}

.filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.filter-group .form-control {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.filter-group .form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: end;
}

.filter-actions .btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
    min-width: auto;
}

/* Contador de Agendamentos */
.appointments-count {
    font-weight: 600;
    color: #1c1c1c;
    font-size: 0.9rem;
}

/* Status dos Agendamentos */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-agendado {
    background: rgba(255, 193, 7, 0.2);
    color: #856404;
}

.status-confirmado {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.status-cancelado {
    background: rgba(220, 53, 69, 0.2);
    color: #721c24;
}

.status-concluido {
    background: rgba(40, 167, 69, 0.2);
    color: #155724;
}

.status-aguardando {
    background: rgba(253, 126, 20, 0.2);
    color: #e8590c;
}

.status-nao_compareceu {
    background: rgba(108, 117, 125, 0.2);
    color: #495057;
}

/* Formulário de Agendamento */
.appointment-form {
    max-width: 100%;
}

.appointment-form .form-section {
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(248, 249, 250, 0.8);
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.appointment-form .form-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.appointment-form .form-section h4 i {
    color: #d4af37;
    font-size: 1.1rem;
}

.appointment-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.appointment-form .form-row:last-child {
    margin-bottom: 0;
}

.appointment-form .form-group {
    display: flex;
    flex-direction: column;
}

.appointment-form label {
    font-weight: 600;
    color: #1c1c1c;
    margin-bottom: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.appointment-form label i {
    color: #d4af37;
    font-size: 0.9rem;
}

.appointment-form .form-control {
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.appointment-form .form-control:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    outline: none;
}

.appointment-form .form-control[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.appointment-form .form-help {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.appointment-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}



/* Responsividade para Agendamentos */
@media (max-width: 1024px) {
    .filters-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 10px;
    }
    
    .appointments-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 15px;
    }
    
    .appointment-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .status-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .filters-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-actions {
        justify-content: stretch;
        margin-top: 0;
    }
    
    .filter-actions .btn {
        flex: 1;
    }
    
    .appointments-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .appointment-card {
        padding: 15px;
    }
    
    .appointment-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .client-info {
        gap: 10px;
    }
    
    .client-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .professional-avatar {
        width: 35px;
        height: 35px;
    }
    
    .professional-avatar i {
        font-size: 1.2rem;
    }
    
    .client-name {
        font-size: 0.95rem;
    }
    
    .appointment-details {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }
    
    .appointment-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .appointment-actions .btn-sm {
        width: 100%;
        min-width: auto;
    }
    
    .status-badge {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .appointment-form .form-section {
        padding: 20px 15px;
    }
    
    .appointment-form .form-section h4 {
        font-size: 1.1rem;
    }
    
    .appointment-form .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .appointment-form .form-actions .btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .appointments-grid .empty-state {
        padding: 40px 15px;
    }
    
    .appointments-grid .empty-state i {
        font-size: 3rem;
    }
    
    .appointments-grid .empty-state h3 {
        font-size: 1.3rem;
    }
    
    .appointments-grid .empty-state p {
        font-size: 0.9rem;
    }
    
    .appointment-card {
        padding: 12px;
    }
    
    .client-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .professional-avatar {
        width: 30px;
        height: 30px;
    }
    
    .professional-avatar i {
        font-size: 1rem;
    }
    
    .client-name {
        font-size: 0.9rem;
    }
    
    .appointment-service {
        font-size: 0.8rem;
    }
    
    .appointment-details {
        padding: 10px;
        gap: 8px;
    }
    
    .detail-item {
        font-size: 0.8rem;
    }
    
    .detail-item i {
        font-size: 0.8rem;
    }
    
    .status-badge {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    
    .appointment-actions .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}

/* Badges para Filtros */
.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.badge-secondary {
    color: #ffffff;
    background-color: #6c757d;
}

.badge-secondary:hover {
    background-color: #5a6268;
}

/* Estilos específicos para página de entradas */
.income-card {
    border-left: 4px solid #28a745;
}

.income-card .service-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.income-card .service-details {
    margin-bottom: 15px;
}

.income-card .service-observations {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #d4af37;
    margin-top: 15px;
}

.income-card .service-observations i {
    color: #d4af37;
    margin-right: 8px;
}

.income-card .service-observations span {
    font-size: 0.9rem;
    color: #6c757d;
    font-style: italic;
}

/* Status badges para receitas */
.status-badge.status-pago {
    background-color: #28a745;
    color: #ffffff;
}

.status-badge.status-pendente {
    background-color: #ffc107;
    color: #212529;
}

.status-badge.status-cancelado {
    background-color: #dc3545;
    color: #ffffff;
}

.status-badge.status-aguardando {
    background-color: #fd7e14;
    color: #ffffff;
}

/* Selo: agendamento com serviço já pago online (Mercado Pago) */
.appointment-header-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.status-badge.status-mp-pago-online {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.35);
}

.status-badge.status-mp-pago-online i {
    margin-right: 4px;
}

/* Código de balcão (alfanumérico 4 chars) nos cards de agendamento */
.appointment-codigo-valor {
    font-family: ui-monospace, 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    font-size: 1.06rem;
    letter-spacing: 0.14em;
    margin-left: 6px;
    color: #1c1917;
    font-variant-numeric: tabular-nums;
}

.appointment-codigo-vazio {
    color: #9ca3af;
    margin-left: 6px;
    font-weight: 500;
}

.appointments-list-hint {
    font-size: 0.88rem;
    color: #6b7280;
    font-weight: 400;
}

/* Stats grid para resumo financeiro */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d4af37;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #d4af37;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.2rem;
}

.stat-icon.success {
    background: #28a745;
}

.stat-icon.warning {
    background: #ffc107;
    color: #212529;
}

.stat-icon.info {
    background: #17a2b8;
}

.stat-info h4 {
    margin: 0 0 5px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.stat-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Notificações - Simples e funcional */
.notifications {
    position: relative;
    margin-right: 20px;
}

.notification-icon {
    position: relative;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-icon i {
    font-size: 1.2rem;
    color: #666;
    transition: color 0.3s ease;
}

.notification-icon:hover i {
    color: #d4af37;
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid #e9ecef;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    display: none;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.notification-count {
    font-size: 0.8rem;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 12px;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    padding: 12px 15px;
    border-bottom: 1px solid #f8f9fa;
    transition: background-color 0.3s ease;
}

.notification-item:hover {
    background-color: #f8f9fa;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-icon-small {
    width: 35px;
    height: 35px;
    background: #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}

.notification-icon-small i {
    color: white;
    font-size: 0.8rem;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-weight: 600;
    color: #333;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.notification-message {
    color: #666;
    font-size: 0.8rem;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-time {
    color: #999;
    font-size: 0.75rem;
}

.no-notifications {
    padding: 30px 15px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.notification-footer {
    padding: 12px 15px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.view-all-link {
    color: #d4af37;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-link:hover {
    color: #b8941f;
    text-decoration: underline;
}

/* Botões de Ação dos Cards */
.service-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.service-actions .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.service-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}

.service-actions .btn-primary {
    background: #d4af37;
    color: white;
    border: 1px solid #d4af37;
}

.service-actions .btn-primary:hover {
    background: #b8941f;
    border-color: #b8941f;
    color: white;
    transform: translateY(-1px);
}

.service-actions .btn-secondary {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
}

.service-actions .btn-secondary:hover {
    background: #5a6268;
    border-color: #5a6268;
    color: white;
    transform: translateY(-1px);
}

/* Campo Readonly */
.form-control-readonly {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.form-control-readonly:hover {
    background-color: #f8f9fa;
    border-color: #e9ecef;
}

/* Responsividade para botões de ação */
@media (max-width: 768px) {
    .service-actions {
        justify-content: stretch;
    }
    
    .service-actions .btn {
        flex: 1;
        justify-content: center;
    }
}
