 :root {
     --primary: #6D77D4;
     --primary-dark: #0048e4;
     --secondary: #d4b996;
     --light: #f8f5f0;
     --dark: #333;
     --success: #28a745;
     --danger: #dc3545;
     --warning: #ffc107;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 body {
     background-color: #f9f9f9;
     color: var(--dark);
     line-height: 1.6;
 }

 .container {
     max-width: 1400px;
     margin: 0 auto;
     padding: 0 20px;
 }

 header {
     background: linear-gradient(135deg, var(--primary), var(--primary-dark));
     color: white;

     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
     border-bottom: 1px solid #ddd;
     padding: 10px 0;
     position: sticky;
     top: 0;
     z-index: 1000;
 }

 .header-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .logo {
     font-size: 1.8rem;
     font-weight: bold;
 }

 nav ul {
     display: flex;
     list-style: none;
     margin: 0;
     padding: 0;
     gap: 1rem;
     flex-wrap: wrap;
     /* 👈 garante que os itens não saiam da tela */
     justify-content: center;
 }

 nav ul li {
     margin-left: 1.5rem;
 }

 nav ul li a {
     color: white;
     text-decoration: none;
     font-weight: 500;
     transition: opacity 0.3s;
 }

 nav ul li a:hover {
     opacity: 0.8;
 }

 .main-content {
     display: grid;
     grid-template-columns: 1fr 300px;
     gap: 2rem;
     padding: 2rem 0;
 }

 .card {
     background: white;
     border-radius: 10px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     padding: 1.5rem;
     margin-bottom: 1.5rem;
 }

 .card h2 {
     color: var(--primary);
     margin-bottom: 1rem;
     border-bottom: 1px solid var(--secondary);
     padding-bottom: 0.5rem;
 }

 .form-group {
     margin-bottom: 1rem;
 }

 label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 500;
 }

 input,
 select,
 textarea {
     width: 100%;
     padding: 0.75rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     font-size: 1rem;
 }

 button {
     background-color: var(--primary);
     color: white;
     border: none;
     padding: 0.75rem 1.5rem;
     border-radius: 5px;
     cursor: pointer;
     font-size: 1rem;
     font-weight: 500;
     transition: background-color 0.3s;
 }

 button:hover {
     background-color: var(--primary-dark);
 }

 .btn-secondary {
     background-color: var(--secondary);
     color: var(--dark);
 }

 .btn-secondary:hover {
     background-color: #c8a97e;
 }

 .calendar {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     gap: 5px;
     margin-bottom: 1rem;
 }

 .calendar-header {
     text-align: center;
     font-weight: bold;
     padding: 0.5rem;
     background-color: var(--secondary);
 }

 .calendar-day {
     border: 1px solid #ddd;
     padding: 0.75rem;
     text-align: center;
     cursor: pointer;
     transition: background-color 0.2s;
 }

 .calendar-day:hover {
     background-color: #f0f0f0;
 }

 .calendar-day.selected {
     background-color: var(--primary);
     color: white;
 }

 .calendar-day.disabled {
     background-color: #f5f5f5;
     color: #aaa;
     cursor: not-allowed;
 }

 .time-slots {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     gap: 0.5rem;
     margin-top: 1rem;
 }

 .time-slot {
     padding: 0.5rem;
     text-align: center;
     border: 1px solid #ddd;
     border-radius: 5px;
     cursor: pointer;
     transition: all 0.2s;
 }

 .time-slot:hover {
     background-color: #f0f0f0;
 }

 .time-slot.selected {
     background-color: var(--primary);
     color: white;
     border-color: var(--primary);
 }

 .time-slot.disabled {
     background-color: #f5f5f5;
     color: #aaa;
     cursor: not-allowed;
 }

 .professional-card {
     display: flex;
     align-items: center;
     padding: 1rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     margin-bottom: 1rem;
     cursor: pointer;
     transition: all 0.2s;
 }

 .professional-card:hover {
     border-color: var(--primary);
 }

 .professional-card.selected {
     border-color: var(--primary);
     background-color: rgba(138, 109, 59, 0.1);
 }

 .professional-photo {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     object-fit: cover;
     margin-right: 1rem;
     background-color: #ddd;
 }

 .service-item {
     display: flex;
     justify-content: space-between;
     padding: 0.75rem;
     border: 1px solid #ddd;
     border-radius: 5px;
     margin-bottom: 0.5rem;
     cursor: pointer;
     transition: all 0.2s;
 }

 .service-item:hover {
     border-color: var(--primary);
 }

 .service-item.selected {
     border-color: var(--primary);
     background-color: rgba(138, 109, 59, 0.1);
 }

 .appointment-summary {
     background-color: var(--light);
     padding: 1rem;
     border-radius: 5px;
     margin-top: 1rem;
 }

 .summary-item {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.5rem;
 }

 .summary-total {
     font-weight: bold;
     border-top: 1px solid #ddd;
     padding-top: 0.5rem;
     margin-top: 0.5rem;
 }

 .hidden {
     display: none;
 }

 .step-indicator {
     display: flex;
     justify-content: space-between;
     margin-bottom: 2rem;
     position: relative;
 }

 .step-indicator::before {
     content: '';
     position: absolute;
     top: 15px;
     left: 0;
     right: 0;
     height: 2px;
     background-color: #ddd;
     z-index: 1;
 }

 .step {
     display: flex;
     flex-direction: column;
     align-items: center;
     position: relative;
     z-index: 2;
 }

 .step-number {
     width: 30px;
     height: 30px;
     border-radius: 50%;
     background-color: #ddd;
     color: white;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-bottom: 0.5rem;
     font-weight: bold;
 }

 .step.active .step-number {
     background-color: var(--primary);
 }

 .step.completed .step-number {
     background-color: var(--success);
 }

 .step-label {
     font-size: 0.85rem;
     text-align: center;
 }

 .step-content {
     display: none;
 }

 .step-content.active {
     display: block;
 }

 .navigation-buttons {
     display: flex;
     justify-content: space-between;
     margin-top: 2rem;
 }




 /* Admin Styles */
 .admin-header {
     background: white;
     padding: 1.5rem;
     border-radius: 10px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     margin-bottom: 2rem;
 }

 .admin-stats {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1rem;
     margin-top: 1rem;
 }

 .stat-card {
     background: var(--light);
     padding: 1.5rem;
     border-radius: 8px;
     text-align: center;
 }

 .stat-number {
     font-size: 2rem;
     font-weight: bold;
     color: var(--primary);
 }

 .admin-content {
     display: grid;
     grid-template-columns: 250px 1fr;
     gap: 2rem;
 }

 .admin-nav {
     background: white;
     padding: 1.5rem;
     border-radius: 10px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     height: fit-content;
 }

 .nav-link {
     display: block;
     padding: 0.75rem 1rem;
     margin-bottom: 0.5rem;
     text-decoration: none;
     color: var(--dark);
     border-radius: 5px;
     transition: all 0.3s;
 }

 .nav-link:hover,
 .nav-link.active {
     background: var(--primary);
     color: white;
 }

 .admin-main {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .filter-form {
     margin-bottom: 1rem;
 }

 .form-row {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
     gap: 1rem;
     align-items: end;
 }

 .data-table {
     width: 100%;
     border-collapse: collapse;
 }

 .data-table th,
 .data-table td {
     padding: 0.75rem;
     text-align: left;
     border-bottom: 1px solid #ddd;
 }

 .data-table th {
     background: var(--light);
     font-weight: 600;
 }

 .actions {
     display: flex;
     gap: 0.5rem;
 }

 .btn-sm {
     padding: 0.25rem 0.5rem;
     font-size: 0.875rem;
 }

 .status-badge {
     padding: 0.25rem 0.75rem;
     border-radius: 20px;
     font-size: 0.875rem;
     font-weight: 500;
 }

 .status-agendado {
     background: #fff3cd;
     color: #856404;
 }

 .status-confirmado {
     background: #d1ecf1;
     color: #0c5460;
 }

 .status-em_andamento {
     background: #d4edda;
     color: #155724;
 }

 .status-concluido {
     background: #d4edda;
     color: #155724;
 }

 .status-cancelado {
     background: #f8d7da;
     color: #721c24;
 }

 .info-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 1rem;
 }

 .info-item {
     display: flex;
     flex-direction: column;
 }

 .info-item label {
     font-weight: 600;
     color: var(--primary);
     margin-bottom: 0.25rem;
 }

 .services-list {
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
 }

 .service-item {
     display: flex;
     justify-content: space-between;
     padding: 0.75rem;
     background: var(--light);
     border-radius: 5px;
 }

 .service-total {
     display: flex;
     justify-content: space-between;
     padding: 1rem;
     background: var(--secondary);
     border-radius: 5px;
     margin-top: 1rem;
 }

 .table-responsive {
     overflow-x: auto;
 }

 .header-actions {
     display: flex;
     gap: 1rem;
     margin-top: 1rem;
 }

 .btn-warning {
     background: #ffc107;
     color: var(--dark);
 }

 .btn-warning:hover {
     background: #e0a800;
 }

 .btn-info {
     background: #17a2b8;
 }

 .btn-info:hover {
     background: #138496;
 }

 .btn-secondary {
     background: #6c757d;
 }

 .btn-secondary:hover {
     background: #5a6268;
 }

 @media (max-width: 768px) {
     .admin-content {
         grid-template-columns: 1fr;
     }

     .admin-nav {
         order: 2;
     }

     .admin-main {
         order: 1;
     }

     .form-row {
         grid-template-columns: 1fr;
     }
 }

 /* Adicionar ao CSS existente */
 .agendamentos-list {
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
 }

 .agendamento-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 1rem;
     background: var(--light);
     border-radius: 8px;
     border-left: 4px solid var(--primary);
 }

 .agendamento-info {
     display: flex;
     flex-direction: column;
     gap: 0.25rem;
 }

 .agendamento-info strong {
     color: var(--dark);
 }

 .agendamento-actions {
     display: flex;
     gap: 0.5rem;
 }

 .price {
     font-weight: bold;
     color: var(--primary);
     font-size: 1.1em;
 }

 /* Melhorar responsividade */
 @media (max-width: 768px) {
     .agendamento-item {
         flex-direction: column;
         align-items: flex-start;
         gap: 1rem;
     }

     .agendamento-actions {
         align-self: flex-end;
     }
 }


 /* Admin Auth Styles */
 .header-top {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1.5rem;
 }

 .user-info {
     display: flex;
     align-items: center;
     gap: 1rem;
     background: var(--light);
     padding: 0.5rem 1rem;
     border-radius: 5px;
 }

 .login-container {
     min-height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(135deg, var(--primary), var(--primary-dark));
     padding: 2rem;
 }

 .login-card {
     background: white;
     padding: 2rem;
     border-radius: 10px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
     width: 100%;
     max-width: 400px;
 }

 .login-card h1 {
     text-align: center;
     color: var(--primary);
     margin-bottom: 0.5rem;
 }

 .login-card p {
     text-align: center;
     color: var(--dark);
     margin-bottom: 2rem;
 }

 .login-form {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .btn-block {
     width: 100%;
     margin-top: 1rem;
 }

 .login-links {
     text-align: center;
     margin-top: 1.5rem;
     padding-top: 1.5rem;
     border-top: 1px solid #eee;
 }

 .login-links a {
     color: var(--primary);
     text-decoration: none;
 }

 .login-links a:hover {
     text-decoration: underline;
 }

 .alert {
     padding: 0.75rem;
     border-radius: 5px;
     margin-bottom: 1rem;
 }

 .alert-error {
     background: #f8d7da;
     color: #721c24;
     border: 1px solid #f5c6cb;
 }

 .alert-success {
     background: #d1edf1;
     color: #0c5460;
     border: 1px solid #bee5eb;
 }

 /* Clientes */
 .card-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 1rem;
 }

 .badge {
     background: var(--primary);
     color: white;
     padding: 0.25rem 0.75rem;
     border-radius: 20px;
     font-size: 0.875rem;
 }

 /* Profissionais */
 .profissionais-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 1.5rem;
 }

 .profissional-card {
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 10px;
     padding: 1.5rem;
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .profissional-photo {
     text-align: center;
 }

 .profissional-photo img,
 .photo-placeholder {
     width: 80px;
     height: 80px;
     border-radius: 50%;
     object-fit: cover;
 }

 .photo-placeholder {
     background: var(--secondary);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 2rem;
     font-weight: bold;
     color: var(--primary);
     margin: 0 auto;
 }

 .profissional-info h3 {
     margin: 0 0 0.5rem 0;
     color: var(--dark);
 }

 .specialty {
     color: var(--primary);
     font-weight: 500;
     margin: 0 0 0.5rem 0;
 }

 .email,
 .phone {
     margin: 0.25rem 0;
     color: #666;
     font-size: 0.9rem;
 }

 .stats {
     margin-top: 0.5rem;
 }

 .stat {
     font-size: 0.85rem;
     color: #666;
 }

 .profissional-actions {
     display: flex;
     gap: 0.5rem;
     flex-wrap: wrap;
 }

 /* Serviços */
 .servicos-list {
     display: flex;
     flex-direction: column;
     gap: 1rem;
 }

 .servico-item {
     display: flex;
     justify-content: between;
     align-items: center;
     padding: 1.5rem;
     background: white;
     border: 1px solid #e0e0e0;
     border-radius: 8px;
     border-left: 4px solid var(--primary);
 }

 .servico-item.inactive {
     opacity: 0.6;
     border-left-color: #ccc;
 }

 .servico-info {
     flex: 1;
 }

 .servico-info h3 {
     margin: 0 0 0.5rem 0;
     color: var(--dark);
 }

 .servico-desc {
     margin: 0 0 1rem 0;
     color: #666;
 }

 .servico-details {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .detail {
     padding: 0.25rem 0.75rem;
     background: var(--light);
     border-radius: 15px;
     font-size: 0.85rem;
 }

 .detail.price {
     background: #d4edda;
     color: #155724;
 }

 .detail.status.active {
     background: #d4edda;
     color: #155724;
 }

 .detail.status.inactive {
     background: #f8d7da;
     color: #721c24;
 }

 .servico-actions {
     display: flex;
     gap: 0.5rem;
 }

 /* Botões de status */
 .btn-success {
     background: #28a745;
     color: white;
 }

 .btn-success:hover {
     background: #218838;
 }

 .btn-danger {
     background: #dc3545;
     color: white;
 }

 .btn-danger:hover {
     background: #c82333;
 }

 /* Responsividade */
 @media (max-width: 768px) {
     .profissionais-grid {
         grid-template-columns: 1fr;
     }

     .servico-item {
         flex-direction: column;
         align-items: flex-start;
         gap: 1rem;
     }

     .servico-actions {
         align-self: flex-end;
     }

     .card-header {
         flex-direction: column;
         gap: 1rem;
         align-items: flex-start;
     }
 }




 /* Botões de status */
 .btn-success {
     background: #48bb78;
     color: white;
 }

 .btn-success:hover {
     background: #38a169;
 }

 .btn-info {
     background: #4299e1;
     color: white;
 }

 .btn-info:hover {
     background: #3182ce;
 }

 .btn-primary {
     background: #667eea;
     color: white;
 }

 .btn-primary:hover {
     background: #5a67d8;
 }

 .btn-danger {
     background: #f56565;
     color: white;
 }

 .btn-danger:hover {
     background: #e53e3e;
 }

 .btn-warning {
     background: #ed8936;
     color: white;
 }

 .btn-warning:hover {
     background: #dd6b20;
 }

 /* Formulários */
 .form-select {
     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 0.5rem center;
     background-repeat: no-repeat;
     background-size: 1.5em 1.5em;
     padding-right: 2.5rem;
     -webkit-appearance: none;
     -moz-appearance: none;
     appearance: none;
 }



 /* Footer Moderno */
 .modern-footer {
     background: #1a202c;
     color: white;
     position: relative;
 }

 /* Newsletter Section */
 .footer-newsletter {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
     padding: 3rem 0;
 }

 .newsletter-content {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 3rem;
     align-items: center;
     max-width: 1000px;
     margin: 0 auto;
 }

 .newsletter-text h3 {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
 }

 .newsletter-text p {
     opacity: 0.9;
     margin: 0;
 }

 .newsletter-form {
     position: relative;
 }

 .input-group {
     display: flex;
     background: white;
     border-radius: 50px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
 }

 .form-input {
     flex: 1;
     border: none;
     padding: 1rem 1.5rem;
     font-size: 1rem;
     outline: none;
     background: transparent;
 }

 .btn-newsletter {
     background: #2d3748;
     color: white;
     border: none;
     padding: 1rem 2rem;
     font-weight: 600;
     cursor: pointer;
     transition: all 0.3s ease;
     white-space: nowrap;
 }

 .btn-newsletter:hover:not(:disabled) {
     background: #4a5568;
 }

 .btn-newsletter:disabled {
     opacity: 0.7;
     cursor: not-allowed;
 }

 .form-message {
     position: absolute;
     top: 100%;
     left: 0;
     right: 0;
     margin-top: 0.5rem;
 }

 .message.success {
     background: #48bb78;
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 5px;
     font-size: 0.9rem;
     text-align: center;
 }

 /* Main Footer */
 .footer-main {
     padding: 4rem 0 2rem;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: 2fr 1fr 1fr 1.5fr;
     gap: 3rem;
 }

 .footer-column h3 {
     color: white;
     margin-bottom: 1rem;
     font-size: 1.5rem;
 }

 .footer-title {
     color: #cbd5e0;
     font-size: 1.1rem;
     font-weight: 600;
     margin-bottom: 1.5rem;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .footer-logo p {
     color: #a0aec0;
     line-height: 1.6;
     margin-bottom: 1.5rem;
 }

 /* Social Links */
 .social-links {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .social-link {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0.5rem 1rem;
     background: rgba(255, 255, 255, 0.1);
     border-radius: 50px;
     color: white;
     text-decoration: none;
     transition: all 0.3s ease;
     font-size: 0.9rem;
 }

 .social-link:hover {
     background: #667eea;
     transform: translateY(-2px);
 }

 .social-icon {
     font-size: 1.1rem;
 }

 .social-text {
     display: none;
 }

 /* Footer Links */
 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-links li {
     margin-bottom: 0.75rem;
 }

 .footer-links a {
     color: #a0aec0;
     text-decoration: none;
     transition: color 0.3s ease;
     display: flex;
     align-items: center;
     gap: 0.5rem;
 }

 .footer-links a:hover {
     color: #667eea;
 }

 /* Contact Info */
 .contact-info {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .contact-item {
     display: flex;
     gap: 1rem;
     align-items: flex-start;
 }

 .contact-icon {
     font-size: 1.2rem;
     margin-top: 0.2rem;
     flex-shrink: 0;
 }

 .contact-text {
     display: flex;
     flex-direction: column;
     gap: 0.25rem;
 }

 .contact-text strong {
     color: white;
     font-size: 0.9rem;
 }

 .contact-text span,
 .contact-text a {
     color: #a0aec0;
     font-size: 0.9rem;
     text-decoration: none;
 }

 .contact-text a:hover {
     color: #667eea;
 }

 /* Footer Bottom */
 .footer-bottom {
     border-top: 1px solid #2d3748;
     padding: 1.5rem 0;
     background: #0f1419;
 }

 .footer-bottom-content {
     display: flex;
     justify-content: space-between;
     align-items: center;
     flex-wrap: wrap;
     gap: 1rem;
 }

 .copyright p {
     color: #a0aec0;
     margin: 0;
     font-size: 0.9rem;
 }

 .footer-bottom-links {
     display: flex;
     gap: 2rem;
 }

 .footer-bottom-links a {
     color: #a0aec0;
     text-decoration: none;
     font-size: 0.9rem;
     transition: color 0.3s ease;
 }

 .footer-bottom-links a:hover {
     color: #667eea;
 }

 /* WhatsApp Float */
 .whatsapp-float {
     position: fixed;
     bottom: 2rem;
     right: 2rem;
     z-index: 1000;
 }

 .whatsapp-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 60px;
     height: 60px;
     background: #25d366;
     border-radius: 50%;
     box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
     text-decoration: none;
     transition: all 0.3s ease;
     position: relative;
 }

 .whatsapp-btn:hover {
     transform: scale(1.1);
     box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
 }

 .whatsapp-icon {
     font-size: 1.8rem;
 }

 .whatsapp-tooltip {
     position: absolute;
     right: 70px;
     background: #2d3748;
     color: white;
     padding: 0.5rem 1rem;
     border-radius: 5px;
     font-size: 0.8rem;
     white-space: nowrap;
     opacity: 0;
     transform: translateX(10px);
     transition: all 0.3s ease;
     pointer-events: none;
 }

 .whatsapp-btn:hover .whatsapp-tooltip {
     opacity: 1;
     transform: translateX(0);
 }





 .professional-card {
     display: flex;
     align-items: center;
     padding: 15px;
     border: 2px solid #e2e8f0;
     border-radius: 10px;
     margin-bottom: 10px;
     cursor: pointer;
     transition: all 0.3s ease;
 }

 .professional-card:hover {
     border-color: #667eea;
     background-color: #f7fafc;
 }

 .professional-card.selected {
     border-color: #667eea;
     background-color: #edf2f7;
 }

 .professional-photo {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     overflow: hidden;
     margin-right: 15px;
     display: flex;
     align-items: center;
     justify-content: center;
     background-color: #e2e8f0;
     flex-shrink: 0;
 }

 .professional-photo img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .photo-placeholder {
     width: 100%;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(45deg, #667eea, #764ba2);
     color: white;
     font-weight: bold;
     font-size: 1.2em;
 }

 .professional-info {
     flex: 1;
 }

 .professional-info strong {
     display: block;
     font-size: 1.1em;
     margin-bottom: 5px;
 }

 .specialty {
     color: #718096;
     font-size: 0.9em;
 }

 #professionals-list {
     max-height: 400px;
     overflow-y: auto;
 }

 /* Loading state */
 .professional-photo.loading {
     background: #e2e8f0;
     animation: pulse 1.5s infinite;
 }

 @keyframes pulse {
     0% {
         opacity: 1;
     }

     50% {
         opacity: 0.5;
     }

     100% {
         opacity: 1;
     }
 }




 /* Responsividade */
 @media (max-width: 1024px) {
     .footer-grid {
         grid-template-columns: 1fr 1fr;
         gap: 2rem;
     }
 }

 @media (max-width: 768px) {
     .footer-newsletter {
         padding: 2rem 0;
     }

     .newsletter-content {
         grid-template-columns: 1fr;
         gap: 2rem;
         text-align: center;
     }

     .footer-main {
         padding: 3rem 0 1.5rem;
     }

     .footer-grid {
         grid-template-columns: 1fr;
         gap: 2rem;
     }

     .footer-bottom-content {
         flex-direction: column;
         text-align: center;
     }

     .footer-bottom-links {
         justify-content: center;
     }

     .input-group {
         flex-direction: column;
         border-radius: 10px;
     }

     .form-input {
         border-radius: 10px 10px 0 0;
     }

     .btn-newsletter {
         border-radius: 0 0 10px 10px;
     }

     .whatsapp-float {
         bottom: 1rem;
         right: 1rem;
     }

     .whatsapp-btn {
         width: 50px;
         height: 50px;
     }

     .whatsapp-icon {
         font-size: 1.5rem;
     }

     .whatsapp-tooltip {
         display: none;
     }
 }

 @media (max-width: 480px) {
     .social-text {
         display: inline;
     }
 }


 footer {
     background-color: var(--dark);
     color: white;
     text-align: center;
     padding: 1.5rem 0;
     margin-top: 2rem;
 }

 @media (max-width: 768px) {
     .main-content {
         grid-template-columns: 1fr;
     }

     .header-content {
         flex-direction: column;
         text-align: center;
     }

     nav ul {
         margin-top: 1rem;
         justify-content: center;
     }

     .time-slots {
         grid-template-columns: repeat(2, 1fr);
     }
 }


 .edit-form {
     margin-bottom: 2rem;
 }

 .form-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
     margin-bottom: 2rem;
 }

 .form-column {
     display: flex;
     flex-direction: column;
     gap: 1.5rem;
 }

 .form-group {
     margin-bottom: 1.5rem;
 }

 .form-group label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 600;
     color: #2d3748;
 }

 .form-input,
 .form-select,
 .form-textarea {
     width: 100%;
     padding: 0.75rem;
     border: 2px solid #e2e8f0;
     border-radius: 8px;
     font-size: 1rem;
     transition: border-color 0.3s ease;
 }

 .form-input:focus,
 .form-select:focus,
 .form-textarea:focus {
     outline: none;
     border-color: #667eea;
 }

 .form-textarea {
     resize: vertical;
     min-height: 120px;
 }

 .form-actions {
     display: flex;
     gap: 1rem;
     justify-content: center;
     padding: 2rem;
     border-top: 1px solid #e2e8f0;
     margin-top: 2rem;
 }

 .services-list-readonly {
     display: flex;
     flex-direction: column;
     gap: 0.75rem;
 }

 .service-item {
     display: flex;
     justify-content: space-between;
     padding: 1rem;
     background: #f7fafc;
     border-radius: 8px;
     border-left: 4px solid #667eea;
 }

 .service-total {
     display: flex;
     justify-content: space-between;
     padding: 1.5rem 1rem;
     background: #edf2f7;
     border-radius: 8px;
     margin-top: 1rem;
     font-size: 1.1rem;
 }

 .quick-actions {
     display: flex;
     gap: 1rem;
     flex-wrap: wrap;
 }

 .alert {
     padding: 1rem;
     border-radius: 8px;
     margin-bottom: 1.5rem;
 }

 .alert-success {
     background: #f0fff4;
     color: #22543d;
     border: 1px solid #9ae6b4;
 }

 .alert-error {
     background: #fed7d7;
     color: #742a2a;
     border: 1px solid #feb2b2;
 }

 @media (max-width: 1024px) {
     .form-grid {
         grid-template-columns: 1fr;
     }

     .quick-actions {
         flex-direction: column;
     }

     .quick-actions .btn {
         width: 100%;
     }
 }