/* Container Geral de Cupons */
.cupons-container {
    padding: 30px;
    background: #0b0f19; /* Dark profundo padrão */
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    color: #f1f5f9;
}

/* Cabeçalho */
.cupons-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.cupons-header h1 {
    font-size: 1.85rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.cupons-header p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Botão Novo Cupom (Roxo Padrão da Imagem) */
.btn-create-coupon {
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-create-coupon:hover {
    background: #7c3aed;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
}

/* Bloco Glassmorphic da Tabela */
.cupons-card-wrapper {
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.table-top-bar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 20px 0;
}

/* Estrutura da Tabela */
.table-responsive {
    overflow-x: auto;
}

.cupons-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.cupons-table th {
    color: #475569; /* Tom cinza mais escuro do cabeçalho da imagem original */
    font-weight: 600;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cupons-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.cupons-table tr:last-child td {
    border-bottom: none;
}

/* Código em Destaque */
.coupon-code {
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.03em;
}

/* Classes Auxiliares */
.text-muted {
    color: #64748b;
}

.text-right {
    text-align: right;
}

/* Badge de Status Ativo (Roxo translúcido) */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.25);
}

/* Grupo de Ações Alinhado */
.actions-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* Botões de Ícones Auxiliares */
.btn-action-icon {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.btn-action-icon i {
    width: 18px;
    height: 18px;
}

/* Hover de Desativar (Gira o olho / esmaece) */
.btn-disable:hover {
    color: #f59e0b; /* Amber alert */
}

/* Hover de Excluir (Lixeira Vermelha) */
.btn-delete:hover {
    color: #ef4444; /* Vermelho vibrante */
}