/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 50%, #C77DFF 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
}

.vivo-logo {
    color: #7B2CBF;
}

.star {
    color: #7B2CBF;
    font-size: 20px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a.active,
.nav-links a:hover {
    color: #7B2CBF;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    transition: color 0.3s;
}

.header-actions a:hover {
    color: #7B2CBF;
}

.header-actions i {
    margin-right: 5px;
}

/* User Info in Header (shown after login) */
.user-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.user-info-header i {
    font-size: 22px;
    color: #7B2CBF;
    margin-right: 0;
}

/* Sub Navigation */
.sub-nav {
    background: #fff;
    padding: 12px 0;
    border-top: 1px solid #eee;
}

.sub-nav .container {
    display: flex;
    gap: 30px;
}

.sub-nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.sub-nav a:hover {
    color: #7B2CBF;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 500px;
    display: flex;
    padding: 40px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 150%;
    background: linear-gradient(135deg, #9D4EDD 0%, #7B2CBF 100%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
    padding-left: 60px;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 500px;
    color: #fff;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.circle-icon {
    width: 24px;
    height: 24px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: inline-block;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 600;
}

.offer-box {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 10px 20px;
    gap: 15px;
    margin-bottom: 15px;
}

.gb {
    font-size: 36px;
    font-weight: 700;
}

.price {
    font-size: 16px;
}

.price strong {
    font-size: 36px;
    font-weight: 700;
}

.offer-details {
    background: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    margin-bottom: 25px;
}

.btn-primary {
    background: #fff;
    color: #7B2CBF;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.hero-image {
    flex: 1;
    position: relative;
    z-index: 1;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.controle-badge {
    font-size: 48px;
    color: #fff;
    font-weight: 300;
    margin-bottom: 20px;
}

.semana-badge {
    background: #5A189A;
    color: #fff;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 18px;
    border: 3px solid #9D4EDD;
    margin-bottom: 30px;
}

.product-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.product-card {
    background: rgba(0,0,0,0.4);
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    text-align: center;
    min-width: 120px;
}

.card-icon {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-card span:last-child {
    font-size: 12px;
}

/* Offers Section */
.offers-section {
    background: #fff;
    padding: 40px 0;
}

.offers-section h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
}

.offer-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    background: #7B2CBF;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-content h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
    outline: none;
}

.input-group input:focus {
    border-color: #9D4EDD;
}

.input-group input.error {
    border-color: #e74c3c;
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
}

.error-message.show {
    display: block;
}

.additional-line {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.additional-line a {
    color: #7B2CBF;
    text-decoration: none;
    font-weight: 500;
}

.additional-line a:hover {
    text-decoration: underline;
}

.btn-continue {
    width: 100%;
    background: linear-gradient(135deg, #9D4EDD 0%, #7B2CBF 100%);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-continue:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(123, 44, 191, 0.4);
}

.btn-continue:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Loading Screen Styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6B1FA0 0%, #7B2CBF 50%, #8B3FD9 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-icon {
    margin-bottom: 40px;
}

.person-icon {
    width: 80px;
    height: 80px;
    color: rgba(255, 255, 255, 0.9);
    animation: personZoom 2s ease-in-out infinite;
}

@keyframes personZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.loading-text {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #fff;
    animation: textPulse 2s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

/* Optional: Add dots animation after the text */
.loading-text::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Invoice Styles */
.invoice-content {
    background: #fff;
    border-radius: 12px;
    width: 95%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

/* Top Bar - Logo + User Name */
.invoice-top-bar {
    background: #fff;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.user-info-top {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.user-info-top i {
    font-size: 24px;
    color: #7B2CBF;
}

/* Subheader - Breadcrumb */
.invoice-subheader {
    background: #fff;
    padding: 12px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.breadcrumb {
    font-size: 13px;
    color: #666;
}

.breadcrumb a {
    color: #7B2CBF;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Title Section */
.invoice-title-section {
    background: #fff;
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.invoice-title-section h1 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.invoice-title-section .subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Old invoice header (keep for compatibility) */
.invoice-header {
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
    color: #fff;
    padding: 20px 25px;
    display: none; /* Hidden by default, using new layout */
}

.invoice-header h2 {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    color: #fff;
}

.invoice-body {
    padding: 25px;
    background: #fafafa;
}

.customer-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.customer-info p {
    margin-bottom: 10px;
    color: #555;
    display: flex;
    flex-wrap: wrap;
}

.customer-info p:last-child {
    margin-bottom: 0;
}

.customer-info strong {
    min-width: 140px;
    color: #333;
}

.customer-info span {
    color: #7B2CBF;
    font-weight: 500;
}

/* API Data Fields Styling */
.api-data-field {
    background: #fff;
    border-left: 3px solid #9D4EDD;
    padding: 12px 15px;
    margin-top: 10px;
    border-radius: 0 8px 8px 0;
}

.api-data-field p {
    margin-bottom: 6px;
}

.api-data-field p:last-child {
    margin-bottom: 0;
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.invoice-table th,
.invoice-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.invoice-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.invoice-table .total-row {
    background: #f0e6f6;
}

.invoice-table .total-row td {
    font-size: 18px;
    color: #7B2CBF;
    border-bottom: none;
}

.invoice-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.btn-pay,
.btn-pdf {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-pay {
    background: linear-gradient(135deg, #9D4EDD 0%, #7B2CBF 100%);
    color: #fff;
}

.btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.4);
}

.btn-pdf {
    background: #fff;
    color: #7B2CBF;
    border: 2px solid #7B2CBF !important;
}

.btn-pdf:hover {
    background: #f8f0ff;
}

.btn-close-invoice {
    width: 100%;
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-close-invoice:hover {
    background: #e0e0e0;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 32px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.notification {
    position: absolute;
    top: 0;
    right: 0;
    background: #e74c3c;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Chat Float Button */
.chat-float {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: #7B2CBF;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.4);
    z-index: 999;
    transition: transform 0.3s;
}

.chat-float:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .header-actions {
        display: none;
    }
    
    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 26px;
    }
    
    .offer-box {
        flex-direction: column;
        text-align: center;
    }
    
    .product-cards {
        flex-direction: column;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .invoice-actions {
        flex-direction: column;
    }
}

/* ==========================================
   NEW INVOICE STYLES (Vivo Style)
   ========================================== */

.invoice-content-new {
    background: #fff;
    border-radius: 12px;
    width: 95%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

/* Header */
.invoice-header-new {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.invoice-header-new h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.btn-close-invoice-top {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.btn-close-invoice-top:hover {
    color: #333;
}

/* Body */
.invoice-body-new {
    padding: 25px;
}

/* Customer Data Section (from API) */
.customer-data-section {
    background: #f8f5ff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
    border: 1px solid #ede6ff;
}

.customer-name-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0d4f7;
}

.customer-name-row i {
    font-size: 28px;
    color: #7B2CBF;
}

.customer-name-display {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.customer-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Due Date Section */
.due-date-section {
    margin-bottom: 15px;
}

.due-date-label {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.month-label {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Status and Total Row */
.status-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.status-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-badge-new.overdue {
    background: #FFF3E0;
    color: #E65100;
}

.status-badge-new.paid {
    background: #E8F5E9;
    color: #2E7D32;
}

.total-value {
    font-size: 24px;
    font-weight: 700;
    color: #7B2CBF;
}

/* Divider */
.divider {
    height: 1px;
    background: #e0e0e0;
    margin: 20px 0;
}

/* Invoice Items */
.invoice-items {
    margin-bottom: 25px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #f5f5f5;
}

.invoice-item:last-child {
    border-bottom: none;
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
}

.item-detail {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.item-value {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin-left: 15px;
}

/* Action Buttons */
.invoice-actions-new {
    margin-bottom: 15px;
}

.btn-pix {
    width: 100%;
    background: #7B2CBF;
    color: #fff;
    border: none;
    padding: 16px 24px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-pix:hover {
    background: #6A1FA0;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 44, 191, 0.4);
}

.btn-pix i {
    font-size: 18px;
}

/* Second Copy Link */
.second-copy-link {
    display: inline-block;
    color: #7B2CBF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    width: 100%;
    padding: 10px;
}

.second-copy-link:hover {
    text-decoration: underline;
}

/* Responsive for New Invoice */
@media (max-width: 480px) {
    .invoice-content-new {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .total-value {
        font-size: 20px;
    }
    
    .btn-pix {
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* ==========================================
   PIX MODAL STYLES
   ========================================== */

.pix-modal-content {
    background: #fff;
    border-radius: 16px;
    width: 95%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.pix-header {
    background: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 100%);
    color: #fff;
    padding: 20px 25px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pix-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-close-pix {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-pix:hover {
    background: rgba(255,255,255,0.3);
}

.pix-body {
    padding: 25px;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

/* Customer Info Section in PIX Modal */
.pix-customer-info {
    background: linear-gradient(135deg, #f8f5ff 0%, #ede6ff 100%);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-left: 4px solid #7B2CBF;
}

.customer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.customer-row:not(:last-child) {
    border-bottom: 1px solid rgba(123, 44, 191, 0.1);
}

.customer-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.customer-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Plan and Value Styles */
.plan-row {
    border-top: 1px dashed rgba(123, 44, 191, 0.2) !important;
    margin-top: 5px;
    padding-top: 10px !important;
}

.plan-name {
    color: #7B2CBF !important;
    font-weight: 700 !important;
}

.value-row {
    background: rgba(123, 44, 191, 0.08);
    margin: 8px -10px -6px -10px !important;
    padding: 10px 15px !important;
    border-radius: 0 0 8px 8px !important;
}

.plan-value {
    color: #7B2CBF !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

/* QR Code Image */
.qr-code-image {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    border: 2px solid #ede6ff;
}

.qr-code-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f8f5ff 0%, #ede6ff 100%);
    border: 2px dashed #9D4EDD;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qr-icon-large {
    font-size: 64px;
    color: #7B2CBF;
}

.qr-code-placeholder p {
    color: #7B2CBF;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.pix-info {
    text-align: center;
}

.pix-instruction {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.copy-paste-container {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.copy-paste-container input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 11px;
    font-family: monospace;
    background: #f8f9fa;
    color: #333;
}

.btn-copy {
    background: #7B2CBF;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-copy:hover {
    background: #6A1FA0;
}

.btn-copy.copied {
    background: #27ae60;
}

.pix-expires {
    font-size: 13px;
    color: #e67e22;
    margin-bottom: 10px;
}

.pix-warning {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.pix-footer {
    padding: 15px 25px;
    border-top: 1px solid #eee;
}

.btn-close-bottom {
    width: 100%;
    background: #f0f0f0;
    color: #666;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-close-bottom:hover {
    background: #e0e0e0;
}

/* Responsive for PIX Modal */
@media (max-width: 480px) {
    .pix-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .qr-code-placeholder {
        width: 180px;
        height: 180px;
    }
    
    .copy-paste-container {
        flex-direction: column;
    }
    
    .btn-copy {
        width: 100%;
    }
}


/* Logo Vivo na Fatura */
.vivo-logo-invoice {
    height: 35px;
    margin-bottom: 15px;
}

.invoice-logo-row {
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

/* Logo Vivo no PIX */
.vivo-logo-pix {
    height: 30px;
    margin-bottom: 10px;
}

.pix-header {
    flex-direction: column;
    gap: 10px;
}

.pix-header h2 {
    font-size: 16px;
    margin: 0;
}
