        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: linear-gradient(135deg, #517245 0%, #517245 50%, #B75538 100%);
            min-height: 100vh;
            color: #333;
            display: flex; /* Adicionado para centralizar o app */
            justify-content: center; /* Adicionado para centralizar o app */
            align-items: flex-start; /* Alinha no topo */
        }

        .app-container {
            width: 100%; /* Ocupa toda a largura disponível */
            max-width: 800px; /* Aumenta a largura máxima para tablets/desktop */
            margin: 0 auto;
            background: #EAD7C6;
            min-height: 100vh;
            position: relative;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
        }

        /* Header */
        .header {
            background: #ffc107; /* Fundo amarelo como fallback */
            color: #EAD7C6;
            padding: 48px 20px 20px;
            position: relative;
            border-radius: 0 0 25px 25px;
            overflow: hidden;
            min-height: 220px;
        }

        /* Imagem do header como fundo */
        .header-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1; /* Imagem com opacidade total */
            pointer-events: none;
            z-index: 1;
        }

        /* Vídeo do header como fundo */
        .header-video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1;
            pointer-events: none;
            z-index: 1;
        }

        /* Overlay gradiente sobre a imagem - REMOVIDO para mostrar imagem pura */
        .header::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
            z-index: 2;
        }

        @media (max-width: 480px) {
            .header {
                min-height: 200px;
            }
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            position: relative;
            z-index: 3;
        }

        .connection-status {
            background: rgba(0,0,0,0.5);
            padding: 8px 12px;
            border-radius: 10px;
            font-size: 12px;
            font-weight: 600;
            backdrop-filter: blur(10px);
            margin-top: 30px;
        }

        .header-content {
            text-align: center;
            position: relative;
            z-index: 3;
        }

        .app-logo {
            width: 80px;
            height: 80px;
            background: rgba(255,255,255,0.95);
            border-radius: 20px;
            margin: 0 auto 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 45px;
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255,255,255,1);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .app-title {
            font-size: 28px;
            font-weight: 700;
            color: #ffffff;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
            text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
        }

        .app-subtitle {
            font-size: 16px;
            font-weight: 500;
            text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
            color: #ffffff;
        }

        /* Navegação principal */
        .main-nav {
            padding: 20px 20px 24px;
            background: #EAD7C6;
        }

        /* Cor da fonte "SERVIÇOS" */
        .nav-title {
            font-size: 18px;
            font-weight: 700;
            color: #000000;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .nav-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Grade adaptativa */
            gap: 16px;
            margin-bottom: 32px;
        }

        .nav-item {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 16px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
            border-color: #d1d5db;
        }

        .nav-item.active {
            background: white;
            border-color: #73350C;
            transform: translateY(-1px);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
        }

        .nav-item-content {
            display: flex;
            flex-direction: column;
            text-align: left;
            flex: 1;
        }

        /* Cor dos icones dos botoes */        
        .nav-item-icon {
            font-size: 24px;
            color: #73350C;
            margin-right: 12px;
            flex-shrink: 0;
        }
        
        /* ========== COR PERSONALIZADA CARTEIRA DIGITAL ========== */

        /* Ícone azul */
        .nav-item[data-section="carteira-digital"] .nav-item-icon {
            color: #73350C;
        }

        /* Borda azul quando ativo */
        .nav-item[data-section="carteira-digital"].active {
            border-color: #2196F3;
            box-shadow: 0 4px 16px rgba(33, 150, 243, 0.15);
        }

        /* Efeito hover azul */
        .nav-item[data-section="carteira-digital"]:hover {
            border-color: #1976D2;
        }

        .nav-item-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 2px;
            color: #1f2937;
        }

        .nav-item-subtitle {
            font-size: 14px;
            color: #1f2937;
            line-height: 1.3;
        }

        /* Seções de tipos */
        .types-section {
            padding: 0 20px 32px;
        }

        /* Cor da fonte do texto "TIPOS" e "TAGS POPULARES"Seções de tipos */
        .section-title {
            font-size: 16px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .types-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .type-item {
            background: white;
            padding: 16px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            cursor: pointer;
            transition: all 0.2s ease;
            border-radius: 12px;
            margin-bottom: 8px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }

        .type-item:hover {
            background: #f9fafb;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        }

        .type-item-left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .type-icon {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            font-size: 24px;
        }

        .type-icon svg {
            width: 100%;
            height: 100%;
            transition: all 0.3s ease;
        }

        .type-item:hover .type-icon svg {
            transform: scale(1.1);
        }

        .type-icon.dogs svg { 
            fill: #667eea;
        }
        .type-icon.cats svg { 
            fill: #f093fb;
        }
        .type-icon.others svg { 
            fill: #4facfe;
        }

        .type-text {
            flex: 1;
        }

        .type-title {
            font-size: 16px;
            font-weight: 600;
            color: #1f2937;
            margin-bottom: 2px;
        }

        .type-count {
            font-size: 13px;
            color: #1f2937;
        }

        .chevron {
            color: #1f2937;
            font-size: 22px;
        }

        /* Tags populares */
        .tags-section {
            padding: 0 20px 32px;
        }

        .tags-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        /* Tags populares (cor da fonte das tags) */
        .tag-item {
            background: linear-gradient(135deg, #f1f3f4, #e8eaed);
            border: 1px solid #e8eaed;
            border-radius: 10px;
            padding: 8px 16px;
            font-size: 14px;
            font-weight: 500;
            color: #5c5b5b;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .tag-item:hover {
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-color: #D37553;
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
        }

        /* Conteúdo das abas */
        .tab-content {
            display: none;
            padding: 20px;
            min-height: 400px;
        }

        .tab-content.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Formulário */
        .form-group {
            margin-bottom: 20px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            padding: 16px;
            border: 0px solid #e9ecef;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.2s ease;
            background: #fafafa;
        }

        .form-input:focus {
            outline: none;
            border-color: #D37553;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        select.form-input {
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23666' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E" );
            background-repeat: no-repeat;
            background-position: right 1.2rem center; /* Posição da seta */
            background-size: 1em; /* Tamanho da seta */
            padding-right: 3rem; /* Espaço extra para a seta não sobrepor o texto */
        }

        /* CSS ESPECÍFICO PARA FORMULÁRIO DE VACINAS */
        #vaccine-form-section .form-input {
            background: #f5f5f5;  /* Cinza muito claro */
            border: 1px solid #e0e0e0;  /* Borda cinza clara */
        }

        #vaccine-form-section .form-input:focus {
            background: #ecedee;  /* Cinza bem clarinho quando focado */
            border-color: #517245;  /* Borda musgo clara */
            box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
        }

        .form-textarea {
            min-height: 80px;
            resize: vertical;
        }

        .photo-upload {
            border: 2px dashed #cbd5e1;
            border-radius: 16px;
            padding: 32px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #fafafa;
        }

        .photo-upload:hover {
            border-color: #D37553;
            background: linear-gradient(135deg, #f8f9ff, #f1f3ff);
        }

        .photo-upload.has-photo {
            border-style: solid;
            border-color: #D37553;
            background: linear-gradient(135deg, #f8f9ff, #f1f3ff);
        }

        .upload-icon {
            font-size: 48px;
            margin-bottom: 16px;
            color: #666;
        }

        .upload-text {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .upload-hint {
            font-size: 12px;
            color: #666;
            line-height: 1.4;
        }

        .photo-preview {
            max-width: 100%;
            max-height: 200px;
            border-radius: 12px;
            margin-top: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .primary-btn {
            width: 100%;
            padding: 14px;
            background: #F6B72A;
            color: #73350C;
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-top: 16px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .primary-btn:hover {
            background: #f9fafb;
            border-color: #d1d5db;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        }

        .primary-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Lista de pets */
        .pets-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .pet-card {
            background: white;
            border: 1px solid rgba(102, 126, 234, 0.1);
            border-radius: 16px;
            padding: 16px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .pet-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #D37553, #D37553);
        }

        .pet-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15);
            border-color: rgba(102, 126, 234, 0.2);
        }

        .pet-header {
            display: flex;
            gap: 16px;
            margin-bottom: 12px;
        }

        .pet-image {
            width: 80px;
            height: 80px;
            border-radius: 12px;
            object-fit: cover;
            background: #f8f9fa;
        }

        .pet-info {
            flex: 1;
        }

        .pet-name {
            font-size: 18px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }

        .pet-details {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        .pet-status {
            display: inline-block;
            padding: 4px 8px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            margin-top: 8px;
        }

        .status-lost {
            background: linear-gradient(135deg, #ffebee, #fce4ec);
            color: #c62828;
        }

        .status-found {
            background: linear-gradient(135deg, #e8f5e8, #f1f8e9);
            color: #2e7d32;
        }

        .status-adocao {
            background: linear-gradient(135deg, #e3f2fd, #e8eaf6);
            color: #1a237e;
        }

        .status-interesse-adocao {
            background: linear-gradient(135deg, #f3e5f5, #e1bee7);
            color: #7b1fa2;
        }    

        .pet-actions {
            display: flex;
            gap: 8px;
            margin-top: 12px;
        }

        .action-btn {
            flex: 1;
            padding: 10px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-contact {
            background: linear-gradient(135deg, #F6B72A, #F6B72A);
            color: white;
        }

        .btn-found {
            background: linear-gradient(135deg, #517245, #517245);
            color: white;
        }

        .btn-contact:hover, .btn-found:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Busca */
        .search-container {
            margin-bottom: 24px;
        }

        .search-input {
            width: 100%;
            padding: 16px 50px 16px 16px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            font-size: 16px;
            background: #fafafa;
            position: relative;
        }

        .search-input:focus {
            outline: none;
            border-color: #D37553;
            background: white;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .search-icon {
            position: absolute;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #666;
            font-size: 20px;
        }

        /* Empty state */
        .empty-state {
            text-align: center;
            padding: 60px 20px;
            color: #666;
        }

        .empty-icon {
            font-size: 40px;
            margin-bottom: 16px;
            opacity: 0.5;
        }

        .empty-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .empty-subtitle {
            font-size: 14px;
            line-height: 1.5;
        }

        /* Notificação */
        .notification {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(-120px);
            background: linear-gradient(135deg, #517245, #517245);
            color: white;
            padding: 16px 24px;
            border-radius: 12px;
            font-weight: 600;
            font-size: 12px;
            z-index: 10000;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
            opacity: 0;
            visibility: hidden;
            max-width: 90%;
        }

        .notification.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            visibility: visible;
        }

        .notification.hide {
            transform: translateX(-50%) translateY(-120px);
            opacity: 0;
            visibility: hidden;
        }

        .notification.error {
            background: linear-gradient(135deg, #c62828, #c62828);
        }

        .notification.info {
            background: linear-gradient(135deg, #F6B72A, #F6B72A);
        }

        /* Loading */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid rgba(255,255,255,.3);
            border-radius: 50%;
            border-top-color: #fff;
            animation: spin 1s ease-in-out infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Mobile responsivo */
        @media (max-width: 480px) {
            .app-container {
                max-width: 100%;
                box-shadow: none;
            }
            
            .header {
                border-radius: 0;
                padding-top: 44px;
            }
            
            .nav-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            
            .nav-item {
                padding: 20px 16px;
            }
        }

        /* CSS responsivo para estatísticas */
        @media (max-width: 768px) {
            /* Em tablets, mostra 2x2 */
            .stats-container div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
                grid-template-columns: 1fr 1fr !important;
            }
        }

        @media (max-width: 480px) {
            /* Em celulares, mostra 1 por linha */
            .stats-container div[style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
                grid-template-columns: 1fr !important;
            }
            
            /* Ajusta fonte para telas pequenas */
            .stats-container div[style*="font-size: 28px"] {
                font-size: 24px !important;
            }
        }

        /* Seção de suporte */
        .support-section {
            padding: 0 20px 32px;
        }

        .support-button {
            background: linear-gradient(135deg, #F6B72A, #D37553);
            border-radius: 16px;
            padding: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
            color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .support-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
        }

        .support-content {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .support-icon {
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            backdrop-filter: blur(10px);
            color: #73350C;
        }

        .support-text {
            flex: 1;
        }

        .support-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 4px;
        }

        .support-subtitle {
            font-size: 14px;
            opacity: 0.9;
            line-height: 1.3;
        }

        /* Cards de suporte */
        .support-card {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 16px;
            padding: 24px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .support-card-title {
            font-size: 16px;
            font-weight: 700;
            color: #1f2937;
            margin: 0;            
        }

        /* Novo CSS para o header */
        .support-card-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            border-bottom: 2px solid #f1f3f4;
            padding-bottom: 8px;
        }

        .support-card-header .nav-item-icon {
            font-size: 20px;
            color: #1f2937;
            flex-shrink: 0; /* Impede que o ícone encolha */
        }

        /* Breadcrumbs */
        .breadcrumbs-container {
            background: #f8f9fa;
            padding: 12px 20px;
            border-bottom: 1px solid #e9ecef;
            display: none; /* Oculto por padrão, só aparece nas seções internas */
        }

        .breadcrumbs {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: #666;
        }

        .breadcrumb-item {
            display: flex;
            align-items: center;
        }

        .breadcrumb-link {
            color: #667eea;
            text-decoration: none;
            cursor: pointer;
            transition: color 0.2s ease;
        }

        .breadcrumb-link:hover {
            color: #5a67d8;
        }

        .breadcrumb-separator {
            margin: 0 8px;
            color: #999;
        }

        .breadcrumb-current {
            font-weight: 600;
            color: #333;
        }

        /* Responsivo */
        @media (max-width: 480px) {
            .breadcrumbs-container {
                padding: 8px 16px;
            }
            
            .breadcrumbs {
                font-size: 13px;
            }
            
            .breadcrumb-separator {
                margin: 0 6px;
            }
        }

        /* FAQ */
        .faq-item {
            border-bottom: 1px solid #f1f3f4;
            margin-bottom: 8px;
        }

        .faq-question {
            padding: 16px 0;
            cursor: pointer;
            font-weight: 600;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: color 0.2s ease;
        }

        .faq-question:hover {
            color: #F6B72A;
        }

        .faq-arrow {
            transition: transform 0.3s ease;
            font-size: 12px;
        }

        .faq-arrow.rotated {
            transform: rotate(180deg);
        }

        .faq-answer {
            padding: 0 0 16px 0;
            color: #666;
            line-height: 1.5;
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .faq-answer.show {
            display: block;
        }

        /* Opções de contato */
        .contact-options {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .contact-option {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 16px;
            background: #f8f9fa;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .contact-option:hover {
            background: #e9ecef;
            transform: translateY(-1px);
        }

        .contact-icon {
            width: 48px;
            height: 48px;
            background: linear-gradient(135deg, #517245, #517245);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
        }

        .contact-title {
            font-weight: 600;
            color: #333;
        }

        .contact-subtitle {
            color: #666;
            font-size: 14px;
        }

        /* Informações do app */
        .info-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f1f3f4;
        }

        .info-label {
            font-weight: 600;
            color: #333;
        }

        .info-value {
            color: #666;
        }

        .app-actions {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }

        .app-actions .action-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .app-actions .action-btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        /* Badge de notificação */
        .notification-badge {
            position: absolute;
            top: 10px;
            right: 5px;
            background: #f44336;
            color: white;
            border-radius: 50%;
            width: 22px;
            height: 22px;
            font-size: 12px;
            font-weight: bold;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #EAD7C6;
            z-index: 1;
        }

        /* Lista de notificações */
        .notification-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .notification-item {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 16px;
            position: relative;
            transition: all 0.2s ease;
        }

        .notification-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .notification-item.new {
            border-left: 4px solid #F6B72A;
            background: linear-gradient(135deg, #fffbf0, #ffffff);
        }

        .notification-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 8px;
        }

        .notification-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
        }

        .notification-icon.perdido {
            background: linear-gradient(135deg, #B75538, #B75538);
        }

        .notification-icon.encontrado {
            background: linear-gradient(135deg, #517245, #517245);
        }

        .notification-icon.adocao {
            background: linear-gradient(135deg, #2196f3, #2196f3);
        }

        .notification-icon.interesse-adocao {
            background: linear-gradient(135deg, #F6B72A, #F6B72A);
        }

        .notification-content {
            flex: 1;
        }

        .notification-title {
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .notification-subtitle {
            font-size: 14px;
            color: #666;
            line-height: 1.4;
        }

        .notification-time {
            font-size: 12px;
            color: #999;
            margin-top: 8px;
        }

        .notification-filters {
            display: flex;
            gap: 8px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }

        .notification-filter {
            padding: 8px 16px;
            border: 1px solid #e9ecef;
            border-radius: 8px;
            background: white;
            color: #666;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .notification-filter:hover {
            border-color: #F6B72A;
            color: #F6B72A;
        }

        .notification-filter.active {
            background: #F6B72A;
            border-color: #F6B72A;
            color: white;
        }

        @keyframes pulse {
            0% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(244, 67, 54, 0.7);
            }
            70% {
                transform: scale(1.1);
                box-shadow: 0 0 0 10px rgba(244, 67, 54, 0);
            }
            100% {
                transform: scale(1);
                box-shadow: 0 0 0 0 rgba(244, 67, 54, 0);
            }
        }
        
        /* Estilos do Mapa */
        .map-container {
            width: 100%;
            height: 500px;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        #petMap {
            width: 100%;
            height: 100%;
        }

        .leaflet-popup-content {
            margin: 0;
            padding: 0;
        }

        .map-pet-card {
            width: 250px;
            padding: 12px;
            background: white;
        }

        .map-pet-image {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 8px;
        }

        .map-pet-name {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }

        .map-pet-info {
            font-size: 13px;
            color: #666;
            margin-bottom: 8px;
        }

        .map-view-details {
            width: 100%;
            padding: 8px;
            background: #517245;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            font-size: 13px;
        }

        .map-toggle-buttons {
            display: flex;
            gap: 8px;
            margin-bottom: 16px;
        }

        .map-toggle-btn {
            flex: 1;
            padding: 12px;
            border: 2px solid #e9ecef;
            border-radius: 10px;
            background: white;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.2s ease;
        }

        .map-toggle-btn.active {
            background: #517245;
            color: white;
            border-color: #517245;
        }

        .map-toggle-btn:hover {
            border-color: #517245;
        }

        /* Artigos e Dicas */
        .article-card {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 5px;
            padding: 20px;
            margin-bottom: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
        }

        .article-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #030303, #030303);
        }

        .article-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        }

        .article-category {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 5px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .category-emergencia {
            background: linear-gradient(135deg, #B75538, #B75538);
            color: white;
        }

        .category-prevencao {
            background: linear-gradient(135deg, #517245, #517245);
            color: white;
        }        

        .category-cuidados {
            background: linear-gradient(135deg, #D37553, #D37553);
            color: white;
        }

        .category-comportamento {
            background: linear-gradient(135deg, #F6B72A, #F6B72A);
            color: white;
        }

        .article-title {
            font-size: 20px;
            font-weight: 700;
            color: #333;
            margin-bottom: 12px;
            line-height: 1.4;
        }

        .article-summary {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
            margin-bottom: 16px;
        }

        .article-meta {
            display: flex;
            align-items: center;
            gap: 16px;
            font-size: 13px;
            color: #999;
        }

        .article-read-time {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .article-icon {
            font-size: 40px;
            margin-bottom: 16px;
        }

        /* Modal de artigo completo */

        /* Visualização de artigo completo - SEM modal */
        .article-full-view {
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }

        .article-full-header {
            text-align: center;
            padding: 30px 20px;
            border-bottom: 2px solid #f1f3f4;
            margin-bottom: 30px;
        }

        .article-full-body {
            max-width: 800px;
            margin: 0 auto;
            padding: 0 20px 40px;
            line-height: 1.8;
            color: #333;
            font-size: 16px;
        }

        .article-full-body h4 {
            color: #000000;
            margin-top: 32px;
            margin-bottom: 16px;
            font-size: 20px;
            font-weight: 700;
        }

        .article-full-body ul {
            margin: 20px 0;
            padding-left: 30px;
        }

        .article-full-body li {
            margin-bottom: 12px;
            line-height: 1.6;
        }

        .article-full-body strong {
            color: #000000;
            font-weight: 600;
        }

        .article-full-body p {
            margin-bottom: 16px;
        }

        

        .back-to-articles-btn {
            position: sticky;
            top: 10px;
            left: 20px;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: linear-gradient(135deg, #F6B72A, #D37553);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            transition: all 0.2s ease;
            z-index: 100;
            font-size: 28px;
        }

        .back-to-articles-btn:hover {
            transform: translateY(-2px) scale(1.1);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
        }   

        .article-modal-body h4 {
            color: #667eea;
            margin-top: 24px;
            margin-bottom: 12px;
            font-size: 18px;
        }

        .article-modal-body ul {
            margin: 16px 0;
            padding-left: 24px;
        }

        .article-modal-body li {
            margin-bottom: 8px;
        }

        .article-modal-body strong {
            color: #667eea;
        }

        /* Botão circular do topo */
        .back-to-articles-btn-circle {
            position: sticky;
            top: 10px;
            left: 20px;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            background: linear-gradient(135deg, #F6B72A, #D37553);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            margin-bottom: 20px;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            transition: all 0.2s ease;
            z-index: 100;
            font-size: 28px;
        }

        .back-to-articles-btn-circle:hover {
            transform: translateY(-2px) scale(1.1);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
        }

        /* Botão retangular do rodapé */
        .back-to-articles-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 14px 24px;
            background: linear-gradient(135deg, #F6B72A, #D37553);
            color: white;
            border: none;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            transition: all 0.2s ease;
            font-size: 15px;
            white-space: nowrap;
            min-width: 200px;
        }

        .back-to-articles-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
        }        
        
        /* Carteira Digital */
        .carteira-pet-card {
            background: rgb(255, 255, 255);
            border: 1px solid #e9ecef;
            border-radius: 4px;
            padding: 20px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.3s ease;
        }

        .carteira-pet-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, #73350C, #73350C);
            border-radius: 16px 16px 0 0;
        }

        .carteira-pet-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        }

        .carteira-pet-header {
            display: flex;
            gap: 16px;
            margin-bottom: 16px;
            align-items: center;
        }

        .carteira-pet-photo {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid #EAD7C6;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .carteira-pet-info {
            flex: 1;
        }

        .carteira-pet-name {
            font-size: 22px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }

        .carteira-pet-type {
            font-size: 14px;
            color: #666;
            display: inline-block;
            background: #f8f9fa;
            padding: 4px 12px;
            border-radius: 4px;
        }

        .carteira-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 12px;
            margin: 16px 0;
        }

        .carteira-info-item {
            background: #f8f9fa;
            padding: 12px;
            border-radius: 8px;
        }

        .carteira-info-label {
            font-size: 12px;
            color: #666;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 4px;
        }

        .carteira-info-value {
            font-size: 14px;
            color: #333;
            font-weight: 500;
        }

        .carteira-actions {
            display: flex;
            gap: 8px;
            margin-top: 16px;
        }

        .carteira-actions .action-btn {
            flex: 1;
            padding: 12px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .btn-edit-carteira {
            background: linear-gradient(135deg, #F6B72A, #D37553);
            color: white;
        }

        .btn-delete-carteira {
            background: #dc3545;
            color: white;
        }

        .btn-edit-carteira:hover,
        .btn-delete-carteira:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        
        /* Sistema de Vacinas */
        .vaccine-item {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            transition: all 0.2s ease;
            border-left: 4px solid #2196f3;
        }

        .vaccine-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transform: translateX(2px);
        }

        .vaccine-item.overdue {
            border-left-color: #d32f2f;
            background: #ffebee;
        }

        .vaccine-item.upcoming {
            border-left-color: #f57c00;
            background: #fff3e0;
        }

        .vaccine-item.ok {
            border-left-color: #388e3c;
        }

        .vaccine-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .vaccine-name {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }

        .vaccine-status-badge {
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        .vaccine-status-badge.overdue {
            background: #d32f2f;
            color: white;
        }

        .vaccine-status-badge.today {
            background: #f57c00;
            color: white;
        }

        .vaccine-status-badge.upcoming {
            background: #1976d2;
            color: white;
        }

        .vaccine-status-badge.ok {
            background: #388e3c;
            color: white;
        }

        .vaccine-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 12px;
            font-size: 13px;
            color: #666;
        }

        .vaccine-detail-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .vaccine-actions {
            display: flex;
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid #e9ecef;
        }

        .vaccine-actions button {
            flex: 1;
            padding: 8px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-edit-vaccine {
            background: #F6B72A;
            color: white;
        }

        .btn-delete-vaccine {
            background: #dc3545;
            color: white;
        }

        .btn-edit-vaccine:hover,
        .btn-delete-vaccine:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        /* Melhorias para página de vacinas */
        #vaccine-manager {
            animation: fadeIn 0.3s ease;
        }
        
        #vaccine-form-section {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        #vaccine-form-section:hover {
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
            transition: box-shadow 0.3s ease;
        }
        
        .vaccine-item {
            animation: slideIn 0.3s ease;
        }
        
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Sistema de Consultas */
        .consultation-item {
            background: white;
            border: 1px solid #e9ecef;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 12px;
            transition: all 0.2s ease;
            border-left: 4px solid #2196f3;
        }

        .consultation-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            transform: translateX(2px);
        }

        .consultation-item.routine {
            border-left-color: #4caf50;
        }

        .consultation-item.emergency {
            border-left-color: #f44336;
        }

        .consultation-item.followup {
            border-left-color: #ff9800;
        }

        .consultation-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }

        .consultation-type {
            font-size: 16px;
            font-weight: 700;
            color: #333;
            margin-bottom: 4px;
        }

        .consultation-badge {
            padding: 4px 12px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            white-space: nowrap;
        }

        .consultation-badge.routine {
            background: #4caf50;
            color: white;
        }

        .consultation-badge.emergency {
            background: #f44336;
            color: white;
        }

        .consultation-badge.followup {
            background: #ff9800;
            color: white;
        }

        .consultation-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 8px;
            margin-bottom: 12px;
            font-size: 13px;
            color: #666;
        }

        .consultation-detail-item {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .consultation-actions {
            display: flex;
            gap: 8px;
            padding-top: 12px;
            border-top: 1px solid #e9ecef;
        }

        .consultation-actions button {
            flex: 1;
            padding: 8px;
            border: none;
            border-radius: 6px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-edit-consultation {
            background: #F6B72A;
            color: white;
        }

        .btn-delete-consultation {
            background: #dc3545;
            color: white;
        }

        .btn-edit-consultation:hover,
        .btn-delete-consultation:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        /* CSS ESPECÍFICO PARA FORMULÁRIO DE CONSULTAS */
        #consultation-form-section .form-input {
            background: #f5f5f5;
            border: 1px solid #e0e0e0;
        }

        #consultation-form-section .form-input:focus {
            background: #ecedee;
            border-color: #2196f3;
            box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.1);
        }

        .phone-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
        }

        /* ========== TERMOS DE USO E POLÍTICA DE PRIVACIDADE ========== */

.terms-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px;
    background: #f8f4f0;
    border-radius: 10px;
    border: 1px solid #d9c9b8;
}

.terms-checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    margin-top: 2px;
    accent-color: #517245;
}

.terms-checkbox-group label {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    cursor: pointer;
}

.terms-checkbox-group a {
    color: #517245;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.terms-checkbox-group a:hover {
    color: #73350C;
}

/* Modal Termos */
#termsModal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    overflow-y: auto;
    padding: 20px;
}

#termsModal .modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 580px;
    margin: 20px auto;
    padding: 28px 24px;
}

#termsModal h2 {
    color: #517245;
    margin-bottom: 6px;
    font-size: 20px;
}

#termsModal .terms-date {
    color: #999;
    font-size: 12px;
    margin-bottom: 20px;
    display: block;
}

#termsModal h3 {
    color: #73350C;
    margin: 20px 0 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#termsModal p,
#termsModal li {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

#termsModal ul {
    padding-left: 18px;
    margin-top: 4px;
}

#termsModal li {
    margin-bottom: 4px;
}

#termsModal .terms-close-btn {
    display: block;
    width: 100%;
    margin-top: 28px;
    background: #517245;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease;
}

#termsModal .terms-close-btn:hover {
    background: #3d5634;
}

/* Animação do ícone - Botão Sobre o App */
@keyframes nudgeRight {
    0%, 100% { transform: translateX(0); }
    40%      { transform: translateX(6px); }
    70%      { transform: translateX(2px); }
}
.icon-nudge-right {
    display: inline-block;
    animation: nudgeRight 1.4s ease-in-out infinite;
}