/* style.css (Na Raiz do Projeto) */
:root {
    --primary-color: #007bff; /* Azul para destaque */
    --secondary-color: #6c757d; /* Cinza para textos secundários */
    --background-color: #f8f9fa; /* Fundo leve */
    --font-color: #343a40;
    --success-color: #28a745;
    --error-color: #dc3545;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--font-color);
    line-height: 1.6;
}

 .body_dark {
    background-color: #0d1117;
    color: #c9d1d9;
 }

.cta-button { background-color: #ffc107; color: #333; padding: 15px 30px; text-decoration: none; font-size: 1.5em; font-weight: bold; border-radius: 8px; transition: background-color 0.3s; }
.cta-button:hover { background-color: #e0a800; }

/* Container Principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header e Navegação do Cliente */
.header-cliente {
    background-color: white;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.header-cliente .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.header-cliente h2 a {
    color: var(--primary-color);
    text-decoration: none;
}
.nav-cliente a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.2s;
}
.nav-cliente a:hover {
    color: var(--secondary-color);
}
.nav-cliente .logout {
    color: var(--error-color);
}

/* Formulários (Login, Register, Pedido) */
.form-box {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 50px auto;
}
.form-box h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
}
input[type="text"], input[type="email"], input[type="password"], textarea, select {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--font-color);
}
.button-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    width: 100%;
    transition: background-color 0.3s;
}
.button-primary:hover {
    background-color: #0056b3;
}
.link-secondary {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--secondary-color);
}

/* Mensagens */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: bold;
}
.alert-success { background-color: #d4edda; color: var(--success-color); border: 1px solid #c3e6cb; }
.alert-error { background-color: #f8d7da; color: var(--error-color); border: 1px solid #f5c6cb; }

/* Tabela de Dados (Painel/Acompanhamento) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.data-table th, .data-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}
.data-table th {
    background-color: #e9ecef;
}

/* style.css (Adicione estes estilos) */

.plans-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}
.plan-card {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fcfcfc;
}
.plan-card:hover {
    border-color: var(--primary-color);
}
.plan-card input[type="radio"] {
    margin-right: 15px;
    transform: scale(1.5); /* Aumenta o radio button para ser mais visível */
}
.plan-details {
    flex-grow: 1;
}
.plan-details h2 {
    margin: 0;
    font-size: 1.4em;
    color: var(--font-color);
}
.plan-details .price {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    margin: 5px 0;
}

/* Estilo para a área de cartão de crédito */
.cc-fields {
    padding: 20px;
    background-color: #f0f8ff; /* Fundo levemente azul para destaque */
    border-radius: 0 0 8px 8px;
    border: 1px solid #cce5ff;
    margin-top: -20px; /* Sobrepõe a borda do cartão */
    margin-bottom: 20px;
}
.flex-inputs {
    display: flex;
    gap: 20px;
}
.flex-inputs > div {
    flex: 1;
}
.cc-fields h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* style.css - Toast Notification Styles */

#toast-container {
    position: fixed;
    top: 20px; /* Distância do topo */
    right: 20px; /* Distância da direita */
    z-index: 1000; /* Garante que fique acima de tudo */
}

.toast {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0; /* Começa invisível */
    transition: opacity 0.5s ease-in-out;
}

/* Cores de Alerta */
.toast-success {
    background-color: #28a745; /* Verde */
}
.toast-error {
    background-color: #dc3545; /* Vermelho */
}


/* Responsive adjustments */
@media (max-width: 1024px) {
    .cc-fields {
        padding: 20px;
        background-color: #f0f8ff; /* Fundo levemente azul para destaque */
        border-radius: 0 0 8px 8px;
        border: 1px solid #cce5ff;
        margin-top: -20px; /* Sobrepõe a borda do cartão */
        margin-bottom: 20px;
    }
    .flex-inputs {
        /*display: flex;*/
        flex-direction: column;
        gap: 20px;
    }
    .flex-inputs > div {
        flex: 2;
    }
    .cc-fields h3 {
        color: var(--primary-color);
        margin-top: 0;
    }
}