/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 20 2025 | 17:42:03 */
/* Estilos para a página de Faturas */
.invoice-page-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Títulos */
.invoice-page-container h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-size: 24px;
}

/* Cartão de Próximas Faturas */
.next-invoice-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.invoice-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.invoice-status {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* Detalhes da fatura */
.invoice-details {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.invoice-amount, .invoice-date {
    display: flex;
    flex-direction: column;
}

.amount-label, .date-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-value, .date-value {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.amount-value {
    color: #27ae60;
}

/* Botões e ações */
.invoice-actions {
    margin-top: 15px;
}

.btn-pay-invoice {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-pay-invoice:hover {
    background: #219653;
}

.invoice-notice {
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #f39c12;
}

/* Tabela de Histórico */
.payment-history-section {
    margin-top: 40px;
}

.payment-history-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 0.8fr;
    background: #2c3e50;
    color: white;
    font-weight: bold;
    padding: 15px 20px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 0.8fr;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.table-row:hover {
    background: #f1f8ff;
}

/* Colunas específicas */
.col-date {
    font-size: 14px;
    color: #555;
}

.col-order {
    font-size: 14px;
    font-weight: 500;
}

.col-amount {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

/* Badges de status */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background: #d5f4e6;
    color: #27ae60;
}

.status-pending {
    background: #fef9e7;
    color: #f39c12;
}

.status-failed {
    background: #fdeaea;
    color: #e74c3c;
}

/* Link Ver Detalhes */
.view-order-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-order-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Mensagem sem histórico */
.no-history {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Responsividade */
@media (max-width: 768px) {
    .invoice-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .col-date::before {
        content: "Data: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-order::before {
        content: "Pedido: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-amount::before {
        content: "Valor: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-status::before {
        content: "Status: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-actions::before {
        content: "Ações: ";
        font-weight: bold;
        color: #2c3e50;
        margin-right: 5px;
    }
}


/* Estilos para status on-hold */
.invoice-onhold {
    border-left: 4px solid #f39c12;
    background: #fff8e1;
}

.invoice-status-onhold {
    background: #f39c12 !important;
    color: white;
}

.invoice-status-next {
    background: #3498db;
    color: white;
}

.btn-pay-now {
    background: #e74c3c !important;
    animation: pulse 2s infinite;
}

.btn-pay-now:hover {
    background: #c0392b !important;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

.invoice-status-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.status-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-right: 5px;
}

.status-value {
    font-size: 14px;
    font-weight: bold;
}

.status-onhold {
    color: #f39c12;
}

.invoice-notice.urgent {
    color: #e74c3c;
    background: #fdeaea;
    border-left-color: #e74c3c;
    margin-top: 10px;
    font-weight: bold;
}


/* Estilos para a página de Faturas */
.invoice-page-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

/* Títulos */
.invoice-page-container h2 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin: 30px 0 20px 0;
    font-size: 24px;
}

/* Cartão de Próximas Faturas */
.next-invoice-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.invoice-overdue {
    border-left: 4px solid #e74c3c;
    background: #fdeaea;
}

.invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.invoice-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 18px;
}

.invoice-status {
    background: #3498db;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.invoice-status-overdue {
    background: #e74c3c !important;
}

.invoice-status-suspended {
    background: #7f8c8d !important;
}

.invoice-status-onhold {
    background: #f39c12 !important;
}

.invoice-status-next {
    background: #3498db;
    color: white;
}

/* Detalhes da fatura */
.invoice-details {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.invoice-amount, .invoice-date, .invoice-status-info {
    display: flex;
    flex-direction: column;
}

.amount-label, .date-label, .status-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.amount-value, .date-value, .status-value {
    font-size: 18px;
    font-weight: bold;
    color: #2c3e50;
}

.amount-value {
    color: #27ae60;
}

/* Valores e datas vencidas */
.amount-overdue {
    color: #e74c3c !important;
}

.date-overdue {
    color: #e74c3c !important;
    font-weight: bold;
}

.days-late {
    font-size: 12px;
    color: #e74c3c;
    margin-left: 5px;
    font-weight: normal;
}

/* Informações de status */
.invoice-status-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.status-label {
    font-size: 12px;
    color: #7f8c8d;
    margin-right: 5px;
}

.status-value {
    font-size: 14px;
    font-weight: bold;
}

.status-overdue {
    color: #e74c3c;
}

.status-onhold {
    color: #f39c12;
}

/* Botões e ações */
.invoice-actions {
    margin-top: 15px;
}

.btn-pay-invoice {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    margin-bottom: 10px;
}

.btn-pay-invoice:hover {
    background: #219653;
}

/* Botão urgente */
.btn-pay-urgent {
    background: #e74c3c !important;
    animation: pulse 1.5s infinite;
    font-weight: bold;
}

.btn-pay-urgent:hover {
    background: #c0392b !important;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Mensagens de aviso */
.invoice-notice {
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 10px;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #f39c12;
    background: #f8f9fa;
}

.invoice-notice.warning {
    color: #f39c12;
    background: #fef9e7;
    border-left-color: #f39c12;
    font-weight: bold;
}

.invoice-notice.urgent {
    color: #e74c3c;
    background: #fdeaea;
    border-left-color: #e74c3c;
    font-weight: bold;
}

.invoice-notice.suspended {
    color: #7f8c8d;
    background: #ecf0f1;
    border-left-color: #7f8c8d;
    font-weight: bold;
}

.invoice-notice.upcoming {
    color: #3498db;
    background: #ebf5fb;
    border-left-color: #3498db;
}

/* Tabela de Histórico */
.payment-history-section {
    margin-top: 40px;
}

.payment-history-table {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 0.8fr;
    background: #2c3e50;
    color: white;
    font-weight: bold;
    padding: 15px 20px;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr 0.8fr;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row:nth-child(even) {
    background: #f8f9fa;
}

.table-row:hover {
    background: #f1f8ff;
}

/* Colunas específicas */
.col-date {
    font-size: 14px;
    color: #555;
}

.col-order {
    font-size: 14px;
    font-weight: 500;
}

.col-amount {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
}

/* Badges de status */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-paid {
    background: #d5f4e6;
    color: #27ae60;
}

.status-pending {
    background: #fef9e7;
    color: #f39c12;
}

.status-failed {
    background: #fdeaea;
    color: #e74c3c;
}

/* Link Ver Detalhes */
.view-order-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.view-order-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* Mensagem sem histórico */
.no-history {
    text-align: center;
    padding: 40px;
    color: #7f8c8d;
    font-style: italic;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Responsividade */
@media (max-width: 768px) {
    .invoice-details {
        flex-direction: column;
        gap: 15px;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .table-header {
        display: none;
    }
    
    .table-row {
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .col-date::before {
        content: "Data: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-order::before {
        content: "Pedido: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-amount::before {
        content: "Valor: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-status::before {
        content: "Status: ";
        font-weight: bold;
        color: #2c3e50;
    }
    
    .col-actions::before {
        content: "Ações: ";
        font-weight: bold;
        color: #2c3e50;
        margin-right: 5px;
    }
}