/* Cores IFPI */
:root {
    --ifpi-verde: #006633;
    --ifpi-vermelho: #CC0000;
    --ifpi-verde-claro: #E6F2ED;
    --ifpi-vermelho-claro: #F9E6E6;
    --ifpi-cinza: #F8F9FA;
}

/* Corpo */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Navbar */
.bg-ifpi {
    background: linear-gradient(135deg, var(--ifpi-verde) 0%, #004d26 100%);
}

/* Cards */
.card-refeicao {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-refeicao:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-header-ifpi {
    background: linear-gradient(135deg, var(--ifpi-verde) 0%, #004d26 100%);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1.2rem;
}

/* Status da solicitação */
.status-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

.status-pendente {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEAA7;
}

.status-registrada {
    background-color: var(--ifpi-verde-claro);
    color: var(--ifpi-verde);
    border: 1px solid var(--ifpi-verde);
}

.status-cancelada {
    background-color: var(--ifpi-vermelho-claro);
    color: var(--ifpi-vermelho);
    border: 1px solid var(--ifpi-vermelho);
}

/* Botões */
.btn-ifpi {
    background: linear-gradient(135deg, var(--ifpi-verde) 0%, #004d26 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ifpi:hover {
    background: linear-gradient(135deg, #005029 0%, #003d1d 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,51,0.2);
}

.btn-ifpi-outline {
    background: transparent;
    color: var(--ifpi-verde);
    border: 2px solid var(--ifpi-verde);
    border-radius: 8px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ifpi-outline:hover {
    background: var(--ifpi-verde);
    color: white;
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--ifpi-vermelho) 0%, #990000 100%);
    border: none;
    border-radius: 8px;
}

/* Formulário de login */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ifpi-verde) 0%, #004d26 100%);
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
}

.login-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .card-refeicao {
        margin-bottom: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Cardápio */
.cardapio-box {
    background-color: #F8F9FA;
    border-left: 4px solid var(--ifpi-verde);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Informações */
.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--ifpi-verde);
}

.info-item i {
    color: var(--ifpi-verde);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

/* Alertas */
.alert-ifpi {
    background: linear-gradient(135deg, #E6F2ED 0%, #D4E8DF 100%);
    border: 1px solid var(--ifpi-verde);
    border-left: 5px solid var(--ifpi-verde);
    color: var(--ifpi-verde);
    border-radius: 10px;
}

/* Tabela com cores IFPI */
.table-ifpi {
    background: linear-gradient(135deg, var(--ifpi-verde) 0%, #004d26 100%);
    color: white;
}

.table-ifpi th {
    border-color: var(--ifpi-verde);
}

/* Ajustes para status */
.status-pendente {
    background-color: #FFF3CD;
    color: #856404;
    border: 1px solid #FFEAA7;
}

.status-registrada {
    background-color: var(--ifpi-verde-claro);
    color: var(--ifpi-verde);
    border: 1px solid var(--ifpi-verde);
}

.status-cancelada {
    background-color: var(--ifpi-vermelho-claro);
    color: var(--ifpi-vermelho);
    border: 1px solid var(--ifpi-vermelho);
}