/* Estilos Gerais */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f7fafc;
    color: #333;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

h1, h2, h3 {
    color: #1a202c;
    margin-top: 0;
}

a {
    color: #3182ce;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Seções */
.section {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.highlight {
    background-color: #ebf8ff;
    border-left: 4px solid #3182ce;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

/* --- Página de Planos --- */
.plans-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* For smaller screens */
}

.auth-container {
    display: flex;
    align-items: center;
}

.auth-container .user-info {
    text-align: right;
    margin-right: 15px;
}

.auth-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.google-btn {
    background-color: #4285F4;
}
.google-btn:hover {
    background-color: #357ae8;
}

.logout-btn {
    background-color: #d9534f;
}
.logout-btn:hover {
    background-color: #c9302c;
}

.plans-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    border: none;
    padding: 0;
}

.plan-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.plan-card h3 {
    margin-bottom: 10px;
}

.plan-card .price {
    font-size: 2em;
    font-weight: bold;
    color: #2d3748;
    margin: 10px 0;
}

.plan-card p {
    flex-grow: 1;
    color: #718096;
}

.purchase-btn {
    background-color: #48bb78;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.2s;
}

.purchase-btn:hover {
    background-color: #38a169;
}

.purchase-btn:disabled {
    background-color: #a0aec0;
    cursor: not-allowed;
}

/* --- Páginas de Status (Sucesso/Falha) --- */
.status-card {
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.status-card h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.status-card.success {
    background-color: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #2f855a;
}
.status-card.success h1 {
    color: #2f855a;
}

.status-card.failure {
    background-color: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
}
.status-card.failure h1 {
    color: #c53030;
}

.btn-back {
    display: inline-block;
    margin-top: 20px;
    margin-right: 10px;
    padding: 10px 25px;
    background-color: #3182ce;
    color: white;
    border-radius: 5px;
    font-weight: 500;
}

.btn-back:hover {
    background-color: #2b6cb0;
    text-decoration: none;
}

/* --- Dashboard Admin --- */
.data-table td button {
    padding: 5px 10px;
    font-size: 0.8em;
    margin-right: 5px;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    color: white;
    font-weight: 500;
}

.data-table .delete-btn {
    background-color: #e53e3e; /* Vermelho */
}
.data-table .delete-btn:hover { background-color: #c53030; }

.data-table .toggle-status-btn {
    background-color: #dd6b20; /* Laranja */
}
.data-table .toggle-status-btn:hover { background-color: #c05621; }
}
