/* Custom styles for Mão Certa */

:root {
    /* Cores da Logo Mão Certa */
    --primary-color: #FF6B35;        /* Laranja vibrante da logo */
    --primary-dark: #E55A2B;         /* Laranja escuro para hover */
    --primary-light: #FF8A65;        /* Laranja claro para gradientes */
    --secondary-color: #2C3E50;      /* Cinza escuro da logo */
    --accent-color: #34495E;         /* Cinza médio */
    --light-gray: #ECF0F1;           /* Cinza muito claro */
    --white: #FFFFFF;                /* Branco da logo */
    --black: #000000;                /* Preto da logo */
    
    /* Cores de status */
    --success-color: #27AE60;        /* Verde moderno */
    --danger-color: #E74C3C;         /* Vermelho moderno */
    --warning-color: #F39C12;        /* Amarelo moderno */
    --info-color: #3498DB;           /* Azul moderno */
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #FF6B35, #E55A2B);
    --gradient-secondary: linear-gradient(135deg, #2C3E50, #34495E);
    --gradient-hero: linear-gradient(135deg, #FF6B35 0%, #E55A2B 50%, #2C3E50 100%);
    
    /* Sombras */
    --shadow: 0 2px 10px rgba(255, 107, 53, 0.1);
    --shadow-lg: 0 10px 30px rgba(255, 107, 53, 0.2);
    --shadow-card: 0 4px 20px rgba(44, 62, 80, 0.1);
    
    /* Bordas */
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
}

/* Global styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-gray);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Responsive breakpoints */
@media (max-width: 576px) {
    /* Mobile styles */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem !important;
        font-size: 1rem !important;
    }
    
    .feature-card {
        padding: 1.5rem !important;
    }
    
    .auth-container {
        padding: 2rem 1.5rem !important;
        margin: 1rem auto !important;
    }
    
    .stat-number {
        font-size: 2rem !important;
    }
    
    .stat-label {
        font-size: 0.9rem !important;
    }
    
    /* Service cards mobile */
    .service-card-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .service-title {
        font-size: 1.1rem;
    }
    
    .service-card-body {
        padding: 1rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .price-container {
        text-align: center;
    }
    
    .service-price {
        font-size: 1.25rem;
    }
    
    /* Taxa removida dos cards públicos */
    
    .btn-service {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    /* How it Works mobile */
    .how-it-works-title {
        font-size: 2.5rem !important;
    }
    
    .how-it-works-subtitle {
        font-size: 1.1rem !important;
    }
    
    .step-number {
        width: 80px;
        height: 80px;
    }
    
    .step-number-text {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    /* CTA mobile */
    .cta-title {
        font-size: 2rem !important;
    }
    
    .cta-description {
        font-size: 1.1rem !important;
    }
    
    .btn-cta {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Order detail mobile */
    .order-detail-header,
    .order-values-header {
        padding: 1rem 1.5rem;
    }
    
    .order-detail-body,
    .order-values-body,
    .order-actions-body {
        padding: 1.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .detail-label,
    .value-label {
        font-size: 0.8rem;
    }
    
    .detail-value,
    .value-amount {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }
    
    .btn-pay,
    .btn-cancel {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        white-space: normal;
        word-wrap: break-word;
        min-height: 44px;
    }
    
    /* Payment buttons mobile */
    .payment-buttons-container {
        flex-direction: column !important;
    }
    
    .payment-btn {
        width: 100% !important;
        margin-bottom: 0.75rem;
    }
    
    .payment-btn:last-child {
        margin-bottom: 0;
    }
    
    /* Contact page mobile */
    .contact-title {
        font-size: 2.5rem !important;
    }
    
    .contact-subtitle {
        font-size: 1.1rem !important;
    }
    
    .contact-info-header,
    .contact-form-header,
    .faq-header {
        padding: 1rem 1.5rem;
    }
    
    .contact-info-body,
    .contact-form-body,
    .faq-body {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.75rem;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
    
    .contact-label,
    .contact-form .form-label {
        font-size: 0.8rem;
    }
    
    .contact-value {
        font-size: 0.9rem;
    }
    
    .btn-send-message {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* About page mobile */
    .about-title {
        font-size: 2.5rem !important;
    }
    
    .about-subtitle {
        font-size: 1.1rem !important;
    }
    
    .about-mission-header,
    .about-vision-header,
    .about-how-it-works-header,
    .about-values-header {
        padding: 1rem 1.5rem;
    }
    
    .about-mission-body,
    .about-vision-body,
    .about-how-it-works-body,
    .about-values-body {
        padding: 1.5rem;
    }
    
    .about-mission-icon,
    .about-vision-icon {
        width: 3rem;
        height: 3rem;
    }
    
    .about-mission-icon i,
    .about-vision-icon i {
        font-size: 1.5rem;
    }
    
    .step-icon {
        width: 4rem;
        height: 4rem;
    }
    
    .step-icon i {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .value-icon {
        width: 2rem;
        height: 2rem;
        margin-right: 0.75rem;
    }
    
    .value-icon i {
        font-size: 1rem;
    }
    
    .value-name {
        font-size: 0.9rem;
    }
    
    .value-description {
        font-size: 0.8rem;
    }
    
    .about-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 300px;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Edit user page mobile */
    .edit-user-title {
        font-size: 1.5rem !important;
    }
    
    .edit-user-subtitle {
        font-size: 0.9rem !important;
    }
    
    .edit-user-form-header,
    .user-info-header,
    .user-preview-header,
    .user-actions-header {
        padding: 1rem 1.5rem;
    }
    
    .edit-user-form-body,
    .user-info-body,
    .user-preview-body,
    .user-actions-body {
        padding: 1.5rem;
    }
    
    .edit-user-form-body .form-label {
        font-size: 0.8rem;
    }
    
    .edit-user-form-body .form-control,
    .edit-user-form-body .form-select {
        font-size: 0.9rem;
        padding: 0.625rem 0.875rem;
    }
    
    .edit-user-form-body .form-check-label {
        font-size: 0.9rem;
    }
    
    .edit-user-form-body .form-text {
        font-size: 0.8rem;
    }
    
    .btn-back,
    .btn-cancel,
    .btn-preview,
    .btn-save {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .user-name {
        font-size: 1.1rem;
    }
    
    .user-email {
        font-size: 0.9rem;
    }
    
    .info-label {
        font-size: 0.8rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .info-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .btn-action {
        padding: 0.625rem 0.875rem;
        font-size: 0.8rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    /* Tablet portrait styles */
    .hero-title {
        font-size: 3rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
    }
    
    .feature-card {
        padding: 2rem !important;
    }
    
    .auth-container {
        padding: 2.5rem !important;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    /* Tablet landscape styles */
    .hero-title {
        font-size: 3.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.2rem !important;
    }
}

@media (min-width: 993px) {
    /* Desktop styles */
    .hero-title {
        font-size: 3.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.25rem !important;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--secondary-color);
    font-weight: 700;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Navigation */
.navbar {
    background: var(--gradient-primary) !important;
    box-shadow: var(--shadow);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand:hover {
    color: var(--white) !important;
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--white) !important;
    padding: 0.75rem 1.25rem !important;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    color: var(--white);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Responsive navigation */
@media (max-width: 991px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.9rem;
    }
}

/* Cards - Fundo azul-acinzentado escuro (mesma cor do footer) independente do modo escuro do Chrome */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    background: #2C3E50 !important; /* Mesma cor do footer (var(--secondary-color)) - independente do modo escuro do Chrome */
    color: #ffffff !important; /* Texto branco para contraste */
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Garantir que cards com classes de background também mantenham fundo azul-acinzentado escuro */
.card.bg-white,
.card.bg-light,
.card.bg-dark,
.card.bg-secondary {
    background: #2C3E50 !important; /* Mesma cor do footer */
    color: #ffffff !important;
}

.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    padding: 1.5rem;
    font-weight: 600;
}

.card-body {
    padding: 2rem;
    background: #2C3E50 !important; /* Mesma cor do footer (azul-acinzentado escuro) */
    color: #ffffff !important; /* Texto branco */
}

/* Garantir que todos os elementos dentro dos cards tenham texto branco */
.card p,
.card span,
.card div:not(.card-header):not(.card-footer):not(.table-responsive):not(.table):not(.table td):not(.table th):not(.table td *):not(.table th *),
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.card .card-text {
    color: #ffffff !important;
}

/* Excluir elementos dentro de tabelas da regra de texto branco */
.card .table td div,
.card .table td span,
.card .table td p,
.card .table td strong,
.card .table td small,
.card .table th div,
.card .table th span,
.card .table th p,
.card .table th strong {
    color: #212529 !important;
}

/* Tabelas dentro de cards devem ter texto escuro e fundo claro para legibilidade */
.card .table,
.card .table-responsive .table {
    background: #ffffff !important;
    color: #212529 !important;
}

.card .table thead th {
    background: var(--gradient-primary) !important;
    color: #ffffff !important;
}

.card .table tbody td,
.card .table tbody th {
    color: #212529 !important;
    background: #ffffff !important;
}

.card .table tbody tr {
    background: #ffffff !important;
}

.card .table tbody tr:hover {
    background-color: rgba(255, 107, 53, 0.05) !important;
}

/* Texto dentro de células da tabela - garantir que TODOS os elementos tenham texto preto */
.card .table td,
.card .table th,
.card .table td *,
.card .table th *,
.card .table td div,
.card .table td span,
.card .table td p,
.card .table td strong,
.card .table td small,
.card .table td .text-truncate,
.card .table td .d-flex,
.card .table td .d-flex *,
.card .table td .text-truncate *,
.card .table td div *,
.card .table td span *,
.card .table td p *,
.card .table td strong * {
    color: #212529 !important;
}

/* Regra específica para garantir texto preto em qualquer elemento dentro de td do tbody */
.card .table tbody td * {
    color: #212529 !important;
}

/* Exceção para cabeçalho da tabela que deve ter texto branco */
.card .table thead th,
.card .table thead th * {
    color: #ffffff !important;
}

/* Exceções para badges e elementos especiais dentro de tabelas */
.card .table .badge {
    color: #ffffff !important;
}

.card .table .text-success {
    color: #198754 !important;
}

.card .table .text-danger {
    color: #dc3545 !important;
}

.card .table .text-info {
    color: #0dcaf0 !important;
}

/* Formulários dentro de cards - labels e inputs devem ser legíveis */
.card .form-label {
    color: #ffffff !important;
}

.card .form-control,
.card .form-select {
    background: #ffffff !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
}

.card .form-control:focus,
.card .form-select:focus {
    background: #ffffff !important;
    color: #212529 !important;
    border-color: var(--primary-color) !important;
}

.card .form-control::placeholder {
    color: #6c757d !important;
}

/* Input group text dentro de cards deve ter texto preto */
.card .input-group-text,
.card .input-group .input-group-text,
.card-body .input-group-text,
.card-body .input-group .input-group-text {
    background: #ffffff !important;
    color: #212529 !important;
    border-color: #dee2e6 !important;
}

/* Garantir que o texto R$ e % dentro de input-group-text seja preto */
.card .input-group-text *,
.card .input-group-text span {
    color: #212529 !important;
}

/* Alert info dentro de cards deve manter cor azul clara e texto escuro */
.card .alert-info {
    background-color: #d1ecf1 !important; /* Azul clarinho do Bootstrap alert-info */
    border-color: #bee5eb !important;
    color: #0c5460 !important; /* Texto azul escuro para contraste */
}

.card .alert-info *,
.card .alert-info small,
.card .alert-info i {
    color: #0c5460 !important;
}

.card-footer {
    background: var(--light-gray);
    border: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius) !important;
    padding: 1.5rem;
}

/* Parágrafos e textos no header da página (fora dos cards) devem ter texto preto */
.container-fluid > .d-flex p,
.container-fluid > .d-flex .text-white:not(.card):not(.card *),
.container-fluid .text-white:not(.card):not(.card *):not(.card-header):not(.card-header *) {
    color: #212529 !important;
}

/* Garantir que textos fora de cards tenham cor escura */
.container-fluid > .d-flex h1,
.container-fluid > .d-flex h2,
.container-fluid > .d-flex h3,
.container-fluid > .d-flex h4,
.container-fluid > .d-flex h5,
.container-fluid > .d-flex h6,
.container-fluid > .d-flex p,
.container-fluid > .d-flex span {
    color: #212529 !important;
}

.card-footer {
    background: var(--light-gray);
    border: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius) !important;
    padding: 1.5rem;
}

/* Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 2px solid var(--light-gray);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--white) !important;
    font-size: 1rem;
    color: var(--secondary-color);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: var(--white) !important;
    color: var(--secondary-color);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-label {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Authentication Pages */
.auth-container {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin: 2rem auto;
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6c757d;
    margin-bottom: 0;
}

/* Force white background for all form inputs */
.auth-container .form-control,
.auth-container .form-select,
.auth-container input[type="text"],
.auth-container input[type="email"],
.auth-container input[type="password"],
.auth-container input[type="tel"],
.auth-container input[type="file"],
.auth-container select {
    background: var(--white) !important;
    border: 2px solid #e9ecef !important;
    color: var(--secondary-color) !important;
}

.auth-container .form-control:focus,
.auth-container .form-select:focus,
.auth-container input[type="text"]:focus,
.auth-container input[type="email"]:focus,
.auth-container input[type="password"]:focus,
.auth-container input[type="tel"]:focus,
.auth-container select:focus {
    background: var(--white) !important;
    border-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25) !important;
}

.auth-container .form-control::placeholder {
    color: #6c757d !important;
    opacity: 1;
}

/* Radio buttons and checkboxes in auth forms */
.auth-container .form-check-input {
    background-color: var(--white) !important;
    border: 2px solid #e9ecef !important;
}

.auth-container .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.auth-container .form-check-label {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

/* Order forms and other forms */
.auth-container .form-text {
    color: #6c757d !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.auth-container .form-label {
    color: var(--secondary-color) !important;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Ensure all text in forms is visible */
.auth-container label,
.auth-container .form-label,
.auth-container .form-text,
.auth-container small,
.auth-container .text-muted {
    color: var(--secondary-color) !important;
}

.auth-container .text-muted {
    color: #6c757d !important;
}

/* Force visibility for all form elements */
.auth-container * {
    color: inherit !important;
}

.auth-container label,
.auth-container .form-label {
    color: var(--secondary-color) !important;
    font-weight: 600 !important;
}

.auth-container .form-text,
.auth-container small,
.auth-container .text-muted {
    color: #6c757d !important;
}

.auth-container .form-control::placeholder {
    color: #6c757d !important;
    opacity: 1 !important;
}

/* Specific fixes for order forms */
.auth-container h4,
.auth-container h5,
.auth-container h6 {
    color: var(--secondary-color) !important;
}

.auth-container p {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-image {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive hero section */
@media (max-width: 991px) {
    .hero-section {
        padding: 4rem 0;
        min-height: 80vh;
    }
    
    .hero-image {
        margin-top: 3rem;
    }
    
    .hero-image i {
        font-size: 10rem !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
        min-height: 70vh;
    }
    
    .hero-image i {
        font-size: 8rem !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
        min-height: 60vh;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .hero-image i {
        font-size: 6rem !important;
    }
}

/* Service Cards - Modern Design */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 107, 53, 0.1);
    overflow: hidden;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card-header {
    background: var(--gradient-primary);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    color: var(--accent-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-pricing {
    margin-top: auto;
}

.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.service-price {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Taxa removida dos cards públicos - visível apenas para prestadores */

.service-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.btn-service {
    display: block;
    width: 100%;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-service i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Feature Cards - Legacy (for compatibility) */
.feature-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--light-gray);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

/* How it Works Section */
.how-it-works-section {
    background: var(--light-gray);
    padding: 5rem 0;
}

.how-it-works-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.how-it-works-subtitle {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 0;
}

.how-it-works-step {
    padding: 2rem 1rem;
    height: 100%;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    z-index: -1;
}

.step-number-text {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--accent-color);
    line-height: 1.6;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    padding: 4rem 0;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 0;
    opacity: 0.9;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-cta i {
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

/* Order Detail Cards */
.order-detail-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.order-detail-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.order-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.order-detail-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.detail-item {
    margin-bottom: 1.5rem;
}

.detail-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-warning {
    background: var(--warning-color);
    color: var(--white);
}

.status-info {
    background: var(--info-color);
    color: var(--white);
}

.status-primary {
    background: var(--primary-color);
    color: var(--white);
}

.status-success {
    background: var(--success-color);
    color: var(--white);
}

.status-danger {
    background: var(--danger-color);
    color: var(--white);
}

/* Order Values Card */
.order-values-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.order-values-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.order-values-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.order-values-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.value-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.value-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.value-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.value-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

.value-total .value-label,
.value-total .value-amount {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Order Actions Card */
.order-actions-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: visible;
}

.order-actions-body {
    background: var(--secondary-color);
    padding: 2rem;
    text-align: center;
    color: var(--white);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.actions-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.actions-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.6;
}

.btn-pay {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-pay i {
    margin-right: 0.5rem;
}

.btn-cancel {
    background: var(--danger-color);
    color: var(--white);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: var(--white);
}

.btn-cancel i {
    margin-right: 0.5rem;
}

/* Contact Page */
.contact-page {
    background: var(--secondary-color);
    min-height: 100vh;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0;
}

/* Contact Info Card */
.contact-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 100%;
}

.contact-info-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.contact-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.contact-info-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact-icon i {
    font-size: 1.25rem;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.contact-value {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* Contact Form Card */
.contact-form-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 100%;
}

.contact-form-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.contact-form-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form .form-control,
.contact-form .form-select {
    background: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-color) !important;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: var(--white) !important;
    color: var(--text-color) !important;
}

.contact-form .form-control::placeholder {
    color: var(--text-muted) !important;
}

.btn-send-message {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-send-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

.btn-send-message i {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* FAQ Card */
.faq-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-top: 2rem;
}

.faq-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.faq-body {
    background: var(--secondary-color);
    padding: 2rem;
}

.faq-body .accordion-item {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.faq-body .accordion-item:last-child {
    margin-bottom: 0;
}

.faq-body .accordion-button {
    background: var(--white);
    color: var(--text-color);
    border: none;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.faq-body .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.faq-body .accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

.faq-body .accordion-body {
    background: var(--white);
    color: var(--text-color);
    padding: 1.5rem;
    line-height: 1.6;
}

/* About Page */
.about-page {
    background: var(--secondary-color);
    min-height: 100vh;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.about-subtitle {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0;
}

/* Mission and Vision Cards */
.about-mission-card,
.about-vision-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
    height: 100%;
}

.about-mission-header,
.about-vision-header {
    background: var(--gradient-primary);
    padding: 2rem;
    text-align: center;
    color: var(--white);
}

.about-mission-icon,
.about-vision-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.about-mission-icon i,
.about-vision-icon i {
    font-size: 2rem;
}

.about-mission-title,
.about-vision-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.about-mission-body,
.about-vision-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.about-mission-text,
.about-vision-text {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

/* How It Works Card */
.about-how-it-works-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-how-it-works-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.about-how-it-works-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.about-how-it-works-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.step-icon {
    background: var(--primary-color);
    color: var(--white);
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.step-icon i {
    font-size: 2.5rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    line-height: 1.6;
    opacity: 0.9;
}

/* Values Card */
.about-values-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.about-values-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.about-values-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.about-values-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon {
    background: var(--success-color);
    color: var(--white);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.value-icon i {
    font-size: 1.25rem;
}

.value-content {
    flex: 1;
}

.value-name {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.value-description {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
    line-height: 1.5;
    opacity: 0.9;
}

/* CTA Section */
.about-cta-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
    text-decoration: none;
}

.btn-cta-primary i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    text-decoration: none;
}

.btn-cta-secondary i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Edit User Page */
.edit-user-page {
    background: var(--light-gray);
    min-height: 100vh;
}

.edit-user-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.edit-user-title i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.edit-user-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-back {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.btn-back:hover {
    background: var(--text-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-back i {
    margin-right: 0.5rem;
}

/* Edit User Form Card */
.edit-user-form-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.edit-user-form-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.edit-user-form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.edit-user-form-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.edit-user-form-body .form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.edit-user-form-body .form-control,
.edit-user-form-body .form-select {
    background: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--text-color) !important;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.edit-user-form-body .form-control:focus,
.edit-user-form-body .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
    background: var(--white) !important;
    color: var(--text-color) !important;
}

.edit-user-form-body .form-check-label {
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.edit-user-form-body .form-text {
    color: var(--white);
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.edit-user-form-body .form-text i {
    margin-right: 0.25rem;
}

.btn-cancel {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: var(--text-color);
    color: var(--white);
    text-decoration: none;
}

.btn-cancel i {
    margin-right: 0.5rem;
}

.btn-preview {
    background: var(--info-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-preview:hover {
    background: #2980b9;
    color: var(--white);
}

.btn-preview i {
    margin-right: 0.5rem;
}

.btn-save {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white);
}

/* User Info Card */
.user-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.user-info-header {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.user-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.user-info-title i {
    margin-right: 0.5rem;
}

.user-info-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.user-avatar {
    background: var(--primary-color);
    color: var(--white);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.user-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin: 1rem 0 0.5rem;
}

.user-email {
    font-size: 1rem;
    color: var(--white);
    margin: 0;
    opacity: 0.9;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 1rem;
    color: var(--white);
    font-weight: 500;
}

.info-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-badge-blue {
    background: var(--info-color);
    color: var(--white);
}

.info-badge-green {
    background: var(--success-color);
    color: var(--white);
}

.info-badge-yellow {
    background: var(--warning-color);
    color: var(--white);
}

.info-badge-red {
    background: var(--danger-color);
    color: var(--white);
}

/* User Preview Card */
.user-preview-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.user-preview-header {
    background: var(--success-color);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.user-preview-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.user-preview-title i {
    margin-right: 0.5rem;
}

.user-preview-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

/* User Actions Card */
.user-actions-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.user-actions-header {
    background: var(--warning-color);
    padding: 1.5rem 2rem;
    color: var(--white);
}

.user-actions-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--white);
}

.user-actions-title i {
    margin-right: 0.5rem;
}

.user-actions-body {
    background: var(--secondary-color);
    padding: 2rem;
    color: var(--white);
}

.btn-action {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.btn-action:hover {
    background: var(--white);
    color: var(--secondary-color);
    text-decoration: none;
}

.btn-action i {
    margin-right: 0.5rem;
}

.btn-action-danger {
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.btn-action-danger:hover {
    background: var(--danger-color);
    color: var(--white);
}

/* Services Section Titles */
.services-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-section-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services Page Titles */
.services-page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.services-page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Services Filter Section */
.services-filter-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

.services-filter-form .input-group-text {
    border-right: none;
}

.services-filter-form .form-control.border-start-0 {
    border-left: none;
}

.services-filter-form .form-control:focus,
.services-filter-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.services-filter-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.services-filter-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.services-filter-form .btn-outline-secondary {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.services-filter-form .btn-outline-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Badge Category */
.badge-category {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.65rem;
    margin-top: 0.5rem;
    display: inline-block;
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Badge Category no Header do Card */
.badge-category-header {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    margin-bottom: 0.75rem;
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.badge-category-header:hover {
    background-color: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.service-card-header .badge-category {
    margin-top: 0.25rem;
}

/* Responsive adjustments for filter section */
@media (max-width: 768px) {
    .services-filter-section {
        padding: 1rem;
    }
    
    .services-filter-form .row > div {
        margin-bottom: 0.75rem;
    }
    
    .services-filter-form .d-flex {
        flex-direction: column;
    }
    
    .services-filter-form .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Global Legibility Fixes */
.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-muted) !important;
}

.text-light {
    color: var(--white) !important;
}

/* Ensure all form labels are readable */
.form-label {
    color: var(--text-color) !important;
    font-weight: 600;
}

/* Ensure all card titles are readable */
.card-title {
    color: #ffffff !important; /* Texto branco para cards com fundo preto */
    font-weight: 600;
}

/* Ensure all headings are readable */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color) !important;
}

/* Ensure all paragraphs are readable */
p {
    color: var(--text-color) !important;
}

/* Ensure all spans are readable */
span {
    color: inherit;
}

/* Fix for dark backgrounds */
.bg-dark .text-muted,
.bg-secondary .text-muted,
.card-body .text-muted {
    color: #ffffff !important; /* Texto branco para cards com fundo preto */
    opacity: 0.8;
}

.bg-dark .text-secondary,
.bg-secondary .text-secondary,
.card-body .text-secondary {
    color: #ffffff !important; /* Texto branco para cards com fundo preto */
    opacity: 0.8;
}

/* Fix for light backgrounds */
.bg-light .text-muted,
.bg-white .text-muted {
    color: var(--text-muted) !important;
}

.bg-light .text-secondary,
.bg-white .text-secondary {
    color: var(--text-muted) !important;
}

/* Legal Pages (Terms and Privacy) */
.legal-page {
    background: var(--light-gray);
    min-height: 100vh;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.legal-subtitle {
    font-size: 1rem;
    color: var(--white);
    opacity: 0.9;
    margin-bottom: 0;
}

.legal-content-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    margin-bottom: 2rem;
}

.legal-content-body {
    padding: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.legal-subsection-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    text-align: justify;
}

.legal-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.legal-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.8;
    color: var(--secondary-color);
    border-left: 3px solid var(--primary-color);
    margin-bottom: 0.5rem;
    background: var(--light-gray);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding-left: 1.5rem;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0.5rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1.2;
}

.legal-list li strong {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Responsive Legal Pages */
@media (max-width: 768px) {
    .legal-content-body {
        padding: 2rem 1.5rem;
    }
    
    .legal-title {
        font-size: 2rem;
    }
    
    .legal-section-title {
        font-size: 1.5rem;
    }
    
    .legal-subsection-title {
        font-size: 1.1rem;
    }
    
    .legal-text {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .legal-list li {
        padding-left: 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .legal-content-body {
        padding: 1.5rem 1rem;
    }
    
    .legal-title {
        font-size: 1.75rem;
    }
    
    .legal-section {
        margin-bottom: 2rem;
    }
}

/* Footer Section */
.footer-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 3rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 1rem;
    color: var(--white);
    margin-bottom: 0;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
    opacity: 1;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright {
    font-size: 0.9rem;
    color: var(--white);
    margin: 0;
    opacity: 0.8;
}

/* Stats Section */
.stats-section {
    background: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive stats section */
@media (max-width: 768px) {
    .stats-section {
        padding: 3rem 0;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

/* Tables */
.table {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    background: var(--white);
}

.table thead th {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.5rem;
}

.table tbody td {
    padding: 1.25rem 1.5rem;
    border-color: var(--light-gray);
    vertical-align: middle;
}

.table tbody tr:hover {
    background-color: rgba(255, 107, 53, 0.05);
}

/* Responsive tables */
@media (max-width: 768px) {
    .table thead th {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .table thead th {
        padding: 0.75rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .table tbody td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    /* Hide less important columns on mobile */
    .table .d-none-mobile {
        display: none !important;
    }
}

/* Table wrapper for horizontal scroll */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 0.75rem;
    font-weight: 500;
}

/* Pagination */
.pagination .page-link {
    border-radius: 0.375rem;
    margin: 0 0.125rem;
    border: 1px solid #dee2e6;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
}

/* Stats cards */
.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

/* Wallet balance */
.wallet-balance {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--success-color);
}

/* Transaction history */
.transaction-credit {
    color: var(--success-color);
    font-weight: 600;
}

.transaction-debit {
    color: var(--danger-color);
    font-weight: 600;
}

/* Loading spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 0;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
}

/* Dark mode support - REMOVIDO para manter padrão fixo independente do modo escuro do Chrome */
/* O sistema agora mantém sempre o mesmo padrão visual */

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Print styles */
@media print {
    .navbar, .footer, .btn, .pagination {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}


/* Global Contrast Fixes */
/* Garantir que elementos em fundos escuros tenham texto branco */
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6,
.bg-dark p, .bg-dark span, .bg-dark div {
    color: var(--white) !important;
}

.bg-secondary h1, .bg-secondary h2, .bg-secondary h3, .bg-secondary h4, .bg-secondary h5, .bg-secondary h6,
.bg-secondary p, .bg-secondary span, .bg-secondary div {
    color: var(--white) !important;
}

/* Garantir que elementos em fundos claros tenham texto escuro */
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
.bg-white p, .bg-white span, .bg-white div {
    color: var(--text-color) !important;
}

.bg-light h1, .bg-light h2, .bg-light h3, .bg-light h4, .bg-light h5, .bg-light h6,
.bg-light p, .bg-light span, .bg-light div {
    color: var(--text-color) !important;
}

/* Garantir que cards com fundo escuro tenham texto branco */
.card.bg-dark .card-title,
.card.bg-dark .card-text,
.card.bg-dark p,
.card.bg-dark span {
    color: var(--white) !important;
}

.card.bg-secondary .card-title,
.card.bg-secondary .card-text,
.card.bg-secondary p,
.card.bg-secondary span {
    color: var(--white) !important;
}

/* Garantir que cards com fundo claro tenham texto escuro */
.card.bg-white .card-title,
.card.bg-white .card-text,
.card.bg-white p,
.card.bg-white span {
    color: var(--text-color) !important;
}

.card.bg-light .card-title,
.card.bg-light .card-text,
.card.bg-light p,
.card.bg-light span {
    color: var(--text-color) !important;
}

/* Correções específicas para elementos sem classe de cor */
.bg-dark > *:not([class*="text-"]) {
    color: var(--white) !important;
}

.bg-secondary > *:not([class*="text-"]) {
    color: var(--white) !important;
}

.bg-white > *:not([class*="text-"]) {
    color: var(--text-color) !important;
}

.bg-light > *:not([class*="text-"]) {
    color: var(--text-color) !important;
}

/* Correções específicas para footer */
footer h1, footer h2, footer h3, footer h4, footer h5, footer h6,
footer p, footer span, footer div {
    color: var(--white) !important;
}

/* Correções para elementos em containers escuros */
[class*="bg-dark"] h1, [class*="bg-dark"] h2, [class*="bg-dark"] h3, 
[class*="bg-dark"] h4, [class*="bg-dark"] h5, [class*="bg-dark"] h6,
[class*="bg-dark"] p, [class*="bg-dark"] span, [class*="bg-dark"] div {
    color: var(--white) !important;
}

[class*="bg-secondary"] h1, [class*="bg-secondary"] h2, [class*="bg-secondary"] h3, 
[class*="bg-secondary"] h4, [class*="bg-secondary"] h5, [class*="bg-secondary"] h6,
[class*="bg-secondary"] p, [class*="bg-secondary"] span, [class*="bg-secondary"] div {
    color: var(--white) !important;
}

/* Correções para elementos em containers claros */
[class*="bg-white"] h1, [class*="bg-white"] h2, [class*="bg-white"] h3, 
[class*="bg-white"] h4, [class*="bg-white"] h5, [class*="bg-white"] h6,
[class*="bg-white"] p, [class*="bg-white"] span, [class*="bg-white"] div {
    color: var(--text-color) !important;
}

[class*="bg-light"] h1, [class*="bg-light"] h2, [class*="bg-light"] h3, 
[class*="bg-light"] h4, [class*="bg-light"] h5, [class*="bg-light"] h6,
[class*="bg-light"] p, [class*="bg-light"] span, [class*="bg-light"] div {
    color: var(--text-color) !important;
}

/* Orders Page Specific Styles */
.orders-page-title {
    color: var(--text-color) !important;
    font-weight: 700;
}

.orders-page-subtitle {
    color: var(--text-muted) !important;
    font-size: 1rem;
    margin-bottom: 0;
}

.orders-filter-title {
    color: var(--text-color) !important;
    font-weight: 600;
}

.orders-list-title {
    color: var(--text-color) !important;
    font-weight: 600;
}

.orders-form-label {
    color: var(--text-color) !important;
    font-weight: 500;
}

.orders-client-email,
.orders-provider-email,
.orders-description,
.orders-time {
    color: var(--text-muted) !important;
    font-size: 0.875rem;
}

.orders-no-provider {
    color: var(--text-muted) !important;
    font-style: italic;
}

.orders-empty-icon {
    color: var(--text-muted) !important;
}

.orders-empty-title {
    color: var(--text-color) !important;
    font-weight: 600;
}

.orders-empty-subtitle {
    color: var(--text-muted) !important;
}

.orders-modal-icon {
    color: var(--text-muted) !important;
}

.orders-modal-title {
    color: var(--text-color) !important;
    font-weight: 600;
}

.orders-modal-subtitle {
    color: var(--text-muted) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: fadeInUp 0.5s ease-out;
}

.whatsapp-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: visible;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.5);
    animation: pulse 2s infinite;
    z-index: 1;
}

.whatsapp-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: pulse 2s infinite 0.5s;
}

.whatsapp-pulse::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.2);
    animation: pulse 2s infinite 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.8);
        opacity: 0;
    }
}

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

/* Tooltip do WhatsApp */
.whatsapp-button::before {
    content: 'Fale conosco no WhatsApp';
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #2C3E50;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-button::after {
    content: '';
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #2C3E50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover::before,
.whatsapp-button:hover::after {
    opacity: 1;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-button {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-icon {
        font-size: 24px;
    }
    
    .whatsapp-pulse,
    .whatsapp-pulse::before,
    .whatsapp-pulse::after {
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-button::before {
        display: none; /* Esconder tooltip no mobile */
    }
    
    .whatsapp-button::after {
        display: none;
    }
}