/* Paleta Semeadores */
:root {
    --cor-primaria-semeadores: #000000; /* Roxo/Azul vibrante (ex: indigo-600 do Tailwind) */
    --cor-secundaria-semeadores: #3B82F6; /* Azul para ações (ex: blue-500 do Tailwind) */
    --cor-crescimento-semeadores: #10B981; /* Verde (ex: emerald-500 do Tailwind) */
    --cor-crescimento-texto-semeadores: #047857; /* Verde escuro para texto (ex: emerald-700) */
    --cor-terra-semeadores: #A16207; /* Terroso (ex: yellow-700 do Tailwind, pode ajustar para marrom) */
    --cor-fundo-semeadores: #F9FAFB; /* Fundo claro (ex: gray-50 do Tailwind) */
    --cor-texto-principal-semeadores: #1F2937; /* Texto escuro (ex: gray-800) */
    --cor-texto-secundario-semeadores: #555a66; /* Texto mais claro (ex: gray-500) */
    --cor-sucesso-semeadores: var(--cor-crescimento-semeadores);
    --cor-erro-semeadores: #EF4444; /* Vermelho (ex: red-500) */
}
body { 
    font-family: 'Poppins', 'Inter', sans-serif; 
}

.login-page {
    /*background-image: url('https://images.pexels.com/photos/1785519/pexels-photo-1785519.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');*/
    background-color: rgba(2, 86, 170, 0.788);
    background-size: cover;
    background-position: center;
}

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

/* --- Card de Login --- */
.login-card {
    background-color: rgba(255, 255, 255, 0.39);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem; /* Bordas mais arredondadas */
    padding: 2.5rem; /* Padding interno aumentado */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    width: 90%;
    max-width: 420px; /* Largura máxima controlada */
    text-align: center;
}

/* --- Estilos de Input --- */
.input { 
    margin-top: 0.25rem; 
    display: block; 
    width: 100%; 
    padding: 0.75rem; 
    background-color: rgb(255, 255, 255); 
    border: 1px solid #cbd5e1; 
    border-radius: 0.5rem; 
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); 
    transition: all 0.2s ease-in-out;
}

.input:focus { 
    outline: none; 
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
    border-color: #3b82f6; 
}

/* --- Estilos de Botões --- */
.btn-primary, .btn-secondary, .btn-tertiary, .btn-super-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #2563eb; /* Azul */
    color: white;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39);
}

.btn-secondary {
    background-color: #1f2937; /* Cinza escuro */
    color: white;
}
.btn-secondary:hover {
    background-color: #111827;
    box-shadow: 0 4px 14px 0 rgba(31, 41, 55, 0.39);
}

.btn-tertiary {
    background-color: #4b5563; /* Cinza médio */
    color: white;
}
.btn-tertiary:hover {
    background-color: #374151;
    box-shadow: 0 4px 14px 0 rgba(75, 85, 99, 0.39);
}

.btn-super-admin {
    background-color: #dc2626; /* Vermelho */
    color: white;
}
.btn-super-admin:hover {
    background-color: #b91c1c;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.39);
}


/* --- Estilos de Links e Ícones --- */
.link-secondary {
    font-size: 0.875rem;
    color: #4b5563; /* Cor com melhor contraste */
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}
.link-secondary:hover {
    color: #1f2937;
    text-decoration: underline;
}

.btn-primary .icon {
    margin-left: 0.5rem;
    transition: transform 0.2s ease-in-out;
}
.btn-primary:hover .icon {
    transform: translateX(3px);
}

.btn-primary .spinner {
    margin-left: 0.5rem;
}

/* --- Classes de Controle --- */
.hidden { 
    display: none; 
}

.modal-backdrop { 
    background-color: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px); 
}

/* --- Ícone Broto --- */
.broto-icon-bg {
    width: 4rem; /* 16 * 4 = 64px */
    height: 4rem;
    background-color: #ffffff36; /* Cor de sucesso/crescimento */
    border-radius: 0.75rem; /* xl */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.broto-icon svg {
    width: 2.25rem; /* 9 * 4 = 36px */
    height: 2.25rem;
    color: white;
}

/* --- NOVOS ESTILOS ADICIONADOS --- */

/* Estilos para Abas do Super Admin */
.tab-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: var(--cor-texto-secundario-semeadores);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}
.tab-item:hover {
    color: var(--cor-primaria-semeadores);
}
.tab-item.active {
    color: var(--cor-primaria-semeadores);
    border-bottom-color: var(--cor-primaria-semeadores);
}

/* Estilos para Tabela do Super Admin */
.admin-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}
.admin-table th, .admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.admin-table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--cor-texto-secundario-semeadores);
    text-transform: uppercase;
    font-size: 0.75rem;
}
.admin-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Estilos para o Card de Seleção de Stand */
.stand-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}
.stand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
.stand-card .icon {
    font-size: 2rem;
    color: var(--cor-primaria-semeadores);
}
.stand-card .name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cor-texto-principal-semeadores);
    margin-top: 1rem;
}
.stand-card .code {
    font-family: monospace;
    font-size: 0.875rem;
    color: var(--cor-texto-secundario-semeadores);
}
