
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-400.ea42a37247439622.woff2") format('woff2');
            font-weight: 400;
            font-style: normal;
        }
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-400i.1701033bc0b08320.woff2") format('woff2');
            font-weight: 400;
            font-style: italic;
        }
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-500.f8af4ec801afaa28.woff2") format('woff2');
            font-weight: 500;
            font-style: normal;
        }
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-600.844a17f0db94d147.woff2") format('woff2');
            font-weight: 600;
            font-style: normal;
        }
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-700.1c7c76152b40409f.woff2") format('woff2');
            font-weight: 700;
            font-style: normal;
        }
        @font-face {
            font-family: 'Rawline';
            src: url("fonts/rawline-800.5c5f78761d00551b.woff2") format('woff2');
            font-weight: 800;
            font-style: normal;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Rawline', sans-serif;
        }

        /* Loading Screen */
        .loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .loading-screen.fade-out {
            opacity: 0;
            pointer-events: none;
        }

        .loading-logo {
            width: 120px;
            height: auto;
            margin-bottom: 40px;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #f0f0f0;
            border-top: 3px solid #003472;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loading-text {
            margin-top: 20px;
            font-family: 'Rawline', sans-serif;
            font-size: 16px;
            color: #003472;
            font-weight: 600;
            animation: pulse-text 2s ease-in-out infinite;
        }

        @keyframes pulse-text {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }

        .main-content {
            display: none !important;
            opacity: 0;
            transition: opacity 0.5s ease-in;
        }

        .main-content.show {
            display: block !important;
            opacity: 1;
        }

        .main-content.show {
            display: block;
        }
        body {
            background-color: white;
            padding-top: 60px;
            color: #333333;
            font-size: 16px;
            line-height: 1.05;
        }
        h3, h4 {
            font-size: 18px;
            line-height: 1.05;
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 20px;
            background-color: white;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            height: 60px;
        }
        .logo {
            width: 240px;
            height: auto;
        }
        .header-icons {
            display: flex;
            gap: 15px;
        }
        .header-icon {
            font-size: 18px;
            color: #0056b3;
        }
        .hero-image {
            width: 100%;
            height: auto;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .hero-image img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        .user-info {
            display: flex;
            flex-direction: column;
            position: relative;
            margin: 15px 0;
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
            background-color: white;
            padding: 15px;
            border-radius: 4px;
            width: 100%;
        }
        .user-info:first-of-type {
            margin-bottom: 30px;
        }
        .user-info-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            width: 100%;
        }
        .user-info p {
            margin: 1px 0;
            color: #333333;
            font-size: 16px;
        }
        .user-info p strong {
            font-weight: 600;
        }
        .user-info h3 {
            font-weight: 700;
            color: #0c326f;
            margin-bottom: 4px;
        }
        .user-info-image {
            width: 50px;
            height: auto;
            justify-self: end;
            align-self: start;
            margin-left: 10px;
            filter: drop-shadow(0px 2px 3px rgba(0, 0, 0, 0.2));
        }
        /* Aumentando o espaçamento após os dados do contribuinte */
        .user-info:nth-of-type(2) .user-info-content {
            margin-bottom: 35px;
            padding-bottom: 15px;
        }
        .message-box {
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 15px;
            margin-top: 15px;
            margin-bottom: 25px;
            border-radius: 4px;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            width: 100%;
        }
        .message-box p {
            margin-bottom: 8px;
            width: 100%;
            font-size: 16px;
            line-height: 1.45;
        }
        .message-box strong {
            font-weight: 700;
        }
        .message-box .red-strong {
            color: #a71d2a;
            font-weight: 700;
        }
        .countdown-timer {
            font-weight: bold;
            color: #ffffff;
            margin-top: 8px;
            background-color: #dc3545;
            padding: 4px 8px;
            border-radius: 4px;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
            width: 100%;
            text-align: center;
        }
        .tax-details {
            margin-top: 25px;
            padding: 15px;
            background-color: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            position: relative;
            overflow: hidden;
        }
        .tax-details::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            height: 80%;
            background-image: url('images/Gov.br_logo.svg');
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            opacity: 0.05;
            z-index: 0;
        }
        .tax-details > * {
            position: relative;
            z-index: 1;
        }
        .tax-details h4 {
            font-weight: 600;
            margin-bottom: 25px;
            color: #0c326f;
            line-height: 1.45;
        }
        .tax-details .document-data {
            display: grid;
            grid-template-columns: auto 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }
        .tax-details .document-data dt {
            font-weight: 600;
            text-align: right;
            padding: 8px 15px;
            background-color: rgba(248, 249, 250, 0.8);
            border: 1px solid #dee2e6;
            border-radius: 4px;
            min-width: 80px;
            white-space: nowrap;
            overflow-x: auto;
        }
        .tax-details .document-data dd {
            font-weight: normal;
            padding: 8px 15px;
            background-color: rgba(255, 255, 255, 0.8);
            border: 1px solid #dee2e6;
            border-radius: 4px;
            margin-left: 0;
            white-space: nowrap;
            overflow-x: auto;
        }
        .tax-details .document-data dt,
        .tax-details .document-data dd {
            display: flex;
            align-items: center;
        }
        .tax-details .total-value {
            font-size: 20px;
            line-height: 1.45;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
        }
        .regularize-button {
            display: block;
            width: 100%;
            padding: 12px;
            background-color: #28a745;
            color: white;
            text-align: center;
            border: none;
            border-radius: 4px;
            font-weight: bold;
            margin-top: 25px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .news-image {
            width: 100%;
            height: auto;
            margin: 8px auto 0;
            display: block;
            border-radius: 4px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .news-description {
            color: #333;
            margin-top: 12px;
            padding: 0 4px;
            text-align: justify;
            width: 100%;
        }
        .footer {
            background-color: #01205B;
            color: white;
            padding: 16px;
            text-align: center;
            margin-top: 40px;
            width: 100%;
            position: relative;
            bottom: 0;
        }
        .footer-logo {
            width: 100px;
            margin: 0 auto 8px;
            display: block;
        }
        @media (max-width: 600px) {
            .header {
                padding: 6px 8px;
            }
            .logo {
                width: 160px;
            }
            .header-icons {
                gap: 8px;
            }
            .header-icon {
                font-size: 16px;
            }
            .message-box {
                width: 100%;
            }
            .news-image {
                max-width: 100%;
            }
            .news-description {
                margin-left: 0;
            }
        }

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

        .sound-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgba(220, 53, 69, 0.9);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            animation: pulse 1s infinite ease-in-out;
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        }

        .video-container {
            position: relative;
            width: 100%;
            margin: 8px auto 0;
            border-radius: 4px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .news-video {
            width: 100%;
            display: block;
        }

        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 2000;
            overflow-y: auto;
            padding: 0;
            margin: 0;
        }

        .modal-content {
            background-color: white;
            width: 100vw;
            min-height: 100vh;
            margin: 0;
            padding: 20px;
            border-radius: 0;
            box-shadow: none;
            position: relative;
            overflow-y: auto;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
        }

        .modal-header {
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #dee2e6;
        }

        .modal-logo {
            width: 180px;
            height: auto;
            margin: 0 auto;
            display: block;
        }

        /* QR Code Container */
        .qr-code-container {
            display: none;
            text-align: center;
            padding: 15px 0 30px 0;
            flex: 1;
            overflow-y: auto;
        }

        .qr-code-img {
            width: 180px;
            height: 180px;
            margin: 0 auto 15px;
        }

        .customer-info {
            background-color: #f8f9fa;
            padding: 12px;
            border-radius: 4px;
            margin-bottom: 12px;
            border-left: 4px solid #0c326f;
            text-align: left;
        }

        .customer-info p {
            margin: 3px 0;
            color: #333;
            text-align: left;
        }

        .customer-info .total-amount {
            color: #dc3545;
            font-weight: 700;
            margin-top: 8px;
            font-size: 16px;
        }

        .warning-text {
            color: white;
            background: linear-gradient(135deg, #dc3545, #c82333);
            border: 2px solid #a71e2a;
            padding: 15px;
            border-radius: 2px;
            margin: 15px 0;
            font-weight: 600;
            text-align: center;
            box-shadow: 0 4px 20px rgba(220, 53, 69, 0.3);
            font-size: 14px;
            line-height: 1.4;
        }

        .countdown-timer-pix {
            background-color: #dc3545;
            color: #fff;
            font-weight: 800;
            padding: 8px;
            border-radius: 4px;
            margin: 0 0 10px 0;
            text-align: center;
            font-size: 18px;
        }

        .pix-code-container {
            background-color: #fff;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            padding: 8px;
            margin: 12px 0;
        }

        .pix-code {
            font-family: monospace;
            word-break: break-all;
            margin: 0;
            padding: 8px;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 4px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .copy-button-container {
            text-align: center;
            margin: 20px 0 30px 0;
            padding-bottom: 30px;
        }

        .copy-pix-button {
            background-color: #28a745;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 4px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: 80%;
            justify-content: center;
        }

        .copy-pix-button:hover {
            background-color: #218838;
        }

        /* Ministry Seal Styles */
        .ministry-seal-container {
            text-align: center;
            margin: 20px 0;
            padding: 15px 0;
        }

        .ministry-seal {
            margin-bottom: 10px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .ministry-seal-img {
            width: 60px;
            height: 60px;
            object-fit: contain;
        }

        .ministry-text {
            margin-top: 8px;
        }

        .ministry-name {
            font-size: 14px;
            font-weight: 700;
            color: #333;
            margin: 0 0 4px 0;
            letter-spacing: 0.5px;
        }

        .ministry-gov {
            font-size: 12px;
            font-weight: 600;
            color: #666;
            margin: 0;
            letter-spacing: 0.3px;
        }

        /* Modal no mobile */
        @media (max-width: 600px) {
            .modal {
                width: 100vw;
                height: 100vh;
                padding: 0;
            }
            
            .modal-content {
                width: 100vw;
                min-height: 100vh;
                padding: 15px;
                box-sizing: border-box;
            }
            
            .copy-button-container {
                margin: 20px 0 50px 0;
                padding-bottom: 50px;
            }
            
            .copy-pix-button {
                width: 90%;
                padding: 15px 20px;
                font-size: 16px;
            }
        }

        /* Script JavaScript adicional para o cronômetro */
        @keyframes copy-feedback {
            0% { background-color: #0c326f; }
            50% { background-color: #28a745; }
            100% { background-color: #0c326f; }
        }

        .copy-success {
            animation: copy-feedback 1s ease;
        }

        /* Loader Animation */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .loader-container {
            text-align: center;
            padding: 30px 0;
        }

        .loader {
            width: 50px;
            height: 50px;
            border: 3px solid rgba(12, 50, 111, 0.1);
            border-radius: 50%;
            border-top-color: #0c326f;
            animation: spin 1s ease-in-out infinite;
            margin: 0 auto 15px;
        }

        .loader-text {
            color: #0c326f;
            font-weight: 600;
            margin-top: 15px;
        }
    
