
/* Estilos globais */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.error-page {
  animation: fadeIn 0.5s ease-out;
}

:root {
    --primary: #7c3aed;
    --primary-hover: #6d28d9;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #f9fafb;
    --card-bg: #ffffff;
    --border: #e5e7eb;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
}
main {
    flex: 1;
    padding-top: 1rem;
    padding-bottom: 2rem;
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

h1 {
    font-size: 2rem;
    line-height: 2.5rem;
}

h2 {
    font-size: 1.5rem;
    line-height: 2rem;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}
/* Transições suaves para interações */
a, button {
    transition: all 0.2s ease;
}

/* Estilização personalizada para cards de edital */
.edital-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.edital-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
/* Estilização para formulário de projeto */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.form-section {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.5rem;
}
/* Cards */
.card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    overflow: hidden;
    border: 1px solid var(--border);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.card-header {
    padding: 1.5rem 1.5rem 0;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 0 1.5rem 1.5rem;
    border-top: 1px solid var(--border);
}

/* Status personalizados */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-ativo {
    background-color: #EDE9FE;
    color: #7C3AED;
}

.status-analise {
    background-color: #DBEAFE;
    color: #1D4ED8;
}

.status-concluido {
    background-color: #D1FAE5;
    color: #047857;
}

.status-vencido {
    background-color: #FEE2E2;
    color: #B91C1C;
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background-color: var(--bg);
}
/* Status de etapas */
.status-em_andamento {
    background-color: #EFF6FF;
    color: #1D4ED8;
}

.status-problema {
    background-color: #FEF2F2;
    color: #B91C1C;
}

.status-concluida {
    background-color: #ECFDF5;
    color: #047857;
}

/* Progress bars */
.progress-bar {
    height: 0.5rem;
    border-radius: 0.25rem;
    background-color: #E5E7EB;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background-color: #8B5CF6;
    transition: width 0.3s ease;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-atrasado {
    background-color: #FEE2E2;
    color: #B91C1C;
}

.status-no-prazo {
    background-color: #D1FAE5;
    color: #047857;
}

/* Cards */
.card {
    transition: all 0.2s ease;
    border-radius: 0.5rem;
    border: 1px solid #E5E7EB;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
