@font-face {
    font-family: 'RoobertENEL';
    src: url('enel/fonts/RoobertENEL-Regular.woff2') format('woff2'),
         url('enel/fonts/RoobertENEL-Regular.woff') format('woff'),
         url('enel/fonts/RoobertENEL-Regular.eot') format('eot');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'RoobertENEL';
    src: url('enel/fonts/RoobertENEL-Bold.woff2') format('woff2'),
         url('enel/fonts/RoobertENEL-Bold.woff') format('woff'),
         url('enel/fonts/RoobertENEL-Bold.eot') format('eot');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'RoobertENEL';
    src: url('enel/fonts/RoobertENEL-Light.woff2') format('woff2'),
         url('enel/fonts/RoobertENEL-Light.woff') format('woff'),
         url('enel/fonts/RoobertENEL-Light.eot') format('eot');
    font-weight: 300;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'RoobertENEL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-brasil {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    letter-spacing: 0.5px;
}

.header-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon {
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}

.icon:hover {
    color: #d3135a;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.welcome-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 1rem;
}

.protocol-text {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-icon {
    width: 20px;
    height: 20px;
    background-color: #E91E63;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    font-style: normal;
    cursor: pointer;
    font-family: 'RoobertENEL', sans-serif;
}

/* Installations Section */
.installations-section {
    margin-bottom: 2rem;
}

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

.installations-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.btn-see-all {
    background: #fff;
    border: 1px solid #FFB6C1;
    color: #FF69B4;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-see-all:hover {
    background: #FFF0F5;
    color: #FF1493;
}

/* Installation Card */
.installation-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.card-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.card-icon {
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex-shrink: 0;
}

.card-info {
    flex: 1;
}

.card-number {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}

.card-address {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.card-right {
    flex-shrink: 0;
}

.link-see-bills {
    color: #E91E63;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.link-see-bills:hover {
    text-decoration: underline;
    color: #C2185B;
}

/* Flag Card */
.flag-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    padding: 1.5rem;
}

.flag-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flag-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.flag-icon {
    flex-shrink: 0;
}

.flag-info {
    flex: 1;
}

.flag-title {
    font-size: 18px;
    font-weight: 700;
    color: #FF8C00;
    margin-bottom: 0.25rem;
}

.flag-description {
    font-size: 14px;
    color: #333;
}

.flag-right {
    flex-shrink: 0;
}

.link-flag-info {
    color: #E91E63;
    text-decoration: underline;
    font-size: 14px;
    font-weight: 600;
}

.link-flag-info:hover {
    color: #C2185B;
}

/* Flag Info Section */
.flag-info-section {
    margin-bottom: 2rem;
}

.flag-info-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flag-info-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.flag-outline-icon {
    flex-shrink: 0;
}

.flag-info-text {
    flex: 1;
}

.flag-info-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.flag-info-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.flag-info-right {
    flex-shrink: 0;
}

.link-flag-question {
    color: #d3135a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.link-flag-question:hover {
    text-decoration: underline;
}

/* Bills Section */
.bills-section {
    margin-bottom: 2rem;
}

.bills-header {
    margin-bottom: 1rem;
}

.bills-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.bills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bill-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: box-shadow 0.2s;
}

.bill-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bill-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.bill-icon {
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    flex-shrink: 0;
}

.bill-info {
    flex: 1;
}

.bill-month {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.25rem;
}

.bill-details {
    font-size: 14px;
    color: #666;
}

.bill-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.bill-amount {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.bill-value {
    font-size: 20px;
    font-weight: 700;
    color: #000;
}

.bill-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bill-status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.bill-link {
    color: #d3135a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.bill-link:hover {
    text-decoration: underline;
    color: #b01045;
}

/* Update Section */
.update-section {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.update-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.update-icon {
    color: #d3135a;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.update-title {
    font-size: 24px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.update-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.update-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.update-data {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.update-data p {
    font-size: 16px;
    color: #333;
    margin-bottom: 0.5rem;
}

.update-data p:last-child {
    margin-bottom: 0;
}

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

.btn-update,
.btn-confirm {
    padding: 0.75rem 2rem;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-update {
    background-color: #d3135a;
    color: #fff;
}

.btn-update:hover {
    background-color: #b01045;
}

.btn-confirm {
    background-color: #fff;
    color: #d3135a;
    border: 2px solid #d3135a;
}

.btn-confirm:hover {
    background-color: #f0f7ff;
}

/* Mensagem de confirmação */
.confirmation-message {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    color: #155724;
    animation: slideIn 0.3s ease-out;
}

.confirmation-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.confirmation-content svg {
    flex-shrink: 0;
    color: #28a745;
}

.confirmation-content span {
    font-size: 0.95rem;
    line-height: 1.5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    .main-content {
        padding: 1rem;
    }

    .welcome-title {
        font-size: 28px;
    }

    .card-content,
    .flag-content,
    .flag-info-card,
    .bill-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .card-right,
    .flag-right,
    .flag-info-right,
    .bill-right {
        align-self: stretch;
        width: 100%;
    }

    .bill-amount {
        align-items: flex-start;
    }

    .bill-link {
        align-self: flex-start;
    }

    .update-buttons {
        flex-direction: column;
    }

    .btn-update,
    .btn-confirm {
        width: 100%;
    }
}

/* Bandeiras Tarifárias Page */
.back-button-container {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #d3135a;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 0;
    transition: color 0.2s;
    font-family: 'RoobertENEL', sans-serif;
}

.btn-back:hover {
    color: #b01045;
}

.btn-back svg {
    transition: transform 0.2s;
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

.bandeiras-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.bandeiras-title {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.bandeiras-text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

.bandeiras-text p {
    margin-bottom: 1.5rem;
}

.bandeiras-text p:last-child {
    margin-bottom: 0;
}

.bandeiras-text strong {
    font-weight: 700;
    color: #000;
}

.bandeira-subtitle {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.bandeira-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.bandeira-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.bandeira-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .bandeiras-content {
        padding: 1.5rem;
    }

    .bandeiras-title {
        font-size: 24px;
    }

    .bandeira-subtitle {
        font-size: 20px;
    }

    .bandeiras-text {
        font-size: 15px;
        text-align: left;
    }
}

/* Chat Page */
.chat-main-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.chat-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.chat-container {
    flex: 1;
    max-width: 600px;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #d3135a 0%, #b01045 100%);
    padding: 1.5rem;
    color: #fff;
}

.chat-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chat-avatar {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.chat-header-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.chat-header-text p {
    font-size: 14px;
    margin: 0.25rem 0 0 0;
    opacity: 0.9;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    background-color: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    display: flex;
    max-width: 80%;
    animation: fadeIn 0.3s ease-in;
}

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

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-content {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    background-color: #fff;
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background-color: #d3135a;
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.chat-input-container {
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}

.chat-form {
    display: flex;
    gap: 0.5rem;
}

.chat-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 14px;
    font-family: 'RoobertENEL', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #d3135a;
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    background-color: #d3135a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
    background-color: #b01045;
}

.chat-send-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* CPF Data Message in Chat */
.cpf-data-message {
    margin: 0;
}

.cpf-data-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cpf-data-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cpf-data-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.cpf-data-value {
    display: block;
    font-size: 15px;
    color: #000;
    font-weight: 500;
    line-height: 1.4;
}

.cpf-json {
    background-color: #f9f9f9;
    padding: 0.75rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 0;
    font-size: 12px;
    color: #333;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', monospace;
}

/* Quick Reply Buttons */
.quick-reply-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.quick-reply-btn {
    padding: 0.5rem 1rem;
    background-color: #d3135a;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'RoobertENEL', sans-serif;
}

.quick-reply-btn:hover {
    background-color: #b01045;
    transform: translateY(-1px);
}

.quick-reply-btn:active {
    transform: translateY(0);
}

.quick-reply-btn-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.quick-reply-btn-secondary:hover {
    background-color: #d0d0d0;
}

/* Tariff Flags Info */
.tariff-flags-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0.5rem 0;
    max-width: 100%;
}

.flag-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-height: 100px;
}

.flag-green {
    background-color: #4CAF50;
}

.flag-yellow {
    background: linear-gradient(135deg, #FFC107 0%, #FF9800 100%);
}

.flag-red {
    background-color: #F44336;
}

.flag-red-dark {
    background-color: #C62828;
}

.flag-icon-container {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-top: 0.25rem;
}

.flag-icon {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.flag-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flag-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.flag-subtitle {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #fff;
    opacity: 1;
    letter-spacing: 0.3px;
}

.flag-description {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    color: #fff;
    opacity: 1;
    font-weight: 400;
}

/* Tariff Reduction Box */
.tariff-reduction-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #d3135a;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.tariff-box-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #d3135a;
}

.tariff-box-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #d3135a;
    margin: 0;
}

.tariff-box-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tariff-box-text {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.tariff-box-text strong {
    color: #d3135a;
    font-weight: 700;
}

.tariff-box-question {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 0.5rem 0 0 0;
    padding: 1rem;
    background-color: #f0f7ff;
    border-radius: 8px;
    border-left: 4px solid #d3135a;
}

@media (max-width: 768px) {
    .tariff-reduction-box {
        padding: 1rem;
    }

    .tariff-box-header h4 {
        font-size: 16px;
    }

    .tariff-box-text {
        font-size: 13px;
    }

    .tariff-box-question {
        font-size: 14px;
    }
}

/* PIX Payment Box */
.pix-payment-box {
    background: linear-gradient(135deg, #fef5f8 0%, #ffffff 100%);
    border: 2px solid #d3135a;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(211, 19, 90, 0.15);
}

.pix-box-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #d3135a;
}

.pix-box-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #d3135a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pix-box-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pix-instruction {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    font-weight: 500;
}

.pix-code-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pix-code-text {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    background-color: #f9f9f9;
    color: #333;
    resize: vertical;
    word-break: break-all;
    line-height: 1.5;
}

.pix-code-text:focus {
    outline: none;
    border-color: #d3135a;
}

.copy-pix-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #d3135a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'RoobertENEL', sans-serif;
}

.copy-pix-btn:hover {
    background-color: #b01045;
    transform: translateY(-1px);
}

.copy-pix-btn:active {
    transform: translateY(0);
}

.pix-expiry {
    font-size: 13px;
    color: #666;
    margin: 0;
    font-style: italic;
}

.pix-note {
    font-size: 13px;
    color: #333;
    margin: 0;
    padding: 0.75rem;
    background-color: #fff3cd;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

.payment-status {
    margin: 0.5rem 0;
}

.payment-loading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #fef5f8;
    border-radius: 8px;
    border-left: 3px solid #d3135a;
}

.payment-loading span {
    font-size: 13px;
    color: #d3135a;
    font-weight: 500;
}

.spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(211, 19, 90, 0.3);
    border-top-color: #d3135a;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@media (max-width: 768px) {
    .pix-payment-box {
        padding: 1rem;
    }

    .pix-box-header h4 {
        font-size: 16px;
    }

    .pix-code-text {
        font-size: 11px;
        min-height: 100px;
    }

    .copy-pix-btn {
        padding: 0.625rem 1.25rem;
        font-size: 13px;
    }
}


@media (max-width: 768px) {
    .chat-main-content {
        padding: 0;
    }

    .chat-container {
        max-width: 100%;
        border-radius: 0;
    }

    .chat-wrapper {
        gap: 1rem;
    }

    .message {
        max-width: 85%;
    }
}

/* Botão de Desenvolvimento (remover depois) */
.dev-skip-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #d3135a;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(211, 19, 90, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    font-family: 'RoobertENEL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.dev-skip-button:hover {
    background-color: #b0104a;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 19, 90, 0.5);
}

.dev-skip-button:active {
    transform: translateY(0);
}

.dev-skip-button svg {
    width: 18px;
    height: 18px;
}

/* TENF Upsell Page */
.tenf-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.tenf-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.tenf-icon {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.tenf-title {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.tenf-subtitle {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tenf-info-box {
    background-color: #f8f9fa;
    border-left: 4px solid #d3135a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.tenf-info-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #d3135a;
}

.tenf-info-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: #d3135a;
}

.tenf-info-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

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

.tenf-info-text strong {
    color: #d3135a;
    font-weight: 700;
}

.tenf-benefits {
    margin-bottom: 2rem;
    text-align: left;
}

.tenf-benefits-title {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    text-align: center;
}

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

.tenf-benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.tenf-benefits-list li svg {
    color: #4CAF50;
    flex-shrink: 0;
    margin-top: 2px;
}

.tenf-price-box {
    background: linear-gradient(135deg, #fef5f8 0%, #ffffff 100%);
    border: 2px solid #d3135a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.tenf-price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tenf-price-value {
    font-size: 42px;
    font-weight: 700;
    color: #d3135a;
    margin-bottom: 0.5rem;
}

.tenf-price-note {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.tenf-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-tenf-pay {
    background-color: #d3135a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-tenf-pay:hover:not(:disabled) {
    background-color: #b01045;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(211, 19, 90, 0.3);
}

.btn-tenf-pay:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-tenf-skip {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-tenf-skip:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.tenf-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 12px;
    color: #999;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.tenf-security svg {
    color: #4CAF50;
}

/* PIX Modal */
.pix-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1rem;
}

.pix-modal {
    background-color: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.pix-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.pix-modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #d3135a;
    margin: 0;
}

.pix-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pix-modal-close:hover {
    color: #333;
}

.pix-modal-content {
    padding: 1.5rem;
}

.pix-modal-instruction {
    font-size: 14px;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.pix-modal-code {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 11px;
    font-family: 'Courier New', monospace;
    background-color: #f9f9f9;
    color: #333;
    resize: vertical;
    word-break: break-all;
    margin-bottom: 1rem;
}

.pix-modal-copy {
    width: 100%;
    padding: 0.75rem;
    background-color: #d3135a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.pix-modal-copy:hover {
    background-color: #b01045;
}

.pix-modal-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #fef5f8;
    border-radius: 8px;
    font-size: 13px;
    color: #d3135a;
}

@media (max-width: 768px) {
    .tenf-container {
        padding: 2rem 1.5rem;
    }

    .tenf-title {
        font-size: 24px;
    }

    .tenf-price-value {
        font-size: 36px;
    }

    .tenf-actions {
        gap: 0.75rem;
    }

    .btn-tenf-pay,
    .btn-tenf-skip {
        width: 100%;
    }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loading-logo {
    width: 200px;
    height: auto;
    animation: logoFadeIn 0.8s ease-in;
}

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

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .loading-logo {
        width: 150px;
    }
    
    .loading-spinner {
        width: 40px;
        height: 40px;
        border-width: 3px;
    }
}

