body {
    margin: 0; padding: 20px; font-family: 'Segoe UI', sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('fundo-399.jpg');
    background-size: cover; background-position: center; background-attachment: fixed;
    color: white;
}

header { text-align: center; margin-bottom: 40px; }
header h1 { font-size: 3rem; color: #f3f3f3; text-shadow: 2px 2px 10px #000; }

main { max-width: 850px; margin: 0 auto; }

/* QUADRADOS GRANDES */
#dashboard, #feedback-form, .card-avaliacao {
    background: rgba(255, 255, 255, 0.96);
    color: #333; padding: 40px; border-radius: 20px;
    margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative; /* Para a lixeira se posicionar */
}

.stats-container { display: flex; justify-content: space-around; margin-bottom: 20px; }
.stat-box strong { display: block; font-size: 2.5rem; color: #e67e22; }

input, select, textarea {
    width: 100%; padding: 15px; margin: 10px 0; border: 1px solid #ddd;
    border-radius: 10px; font-size: 1.1rem; box-sizing: border-box;
}

textarea { min-height: 150px; }

button {
    width: 100%; padding: 15px; background: #27ae60; color: white;
    border: none; border-radius: 10px; font-weight: bold; cursor: pointer; font-size: 1.1rem;
}

/* CARDS DE AVALIAÇÃO */
.card-avaliacao p { font-size: 1.3rem; font-style: italic; margin: 20px 0; }
.btn-editar { width: auto; background: #e67e22; padding: 8px 15px; font-size: 0.9rem; }

/* LIXEIRA ULTRA MINI */
.btn-lixeira-ultra-mini {
    position: absolute; top: 15px; right: 15px; background: transparent !important;
    border: none !important; color: #ccc !important; font-size: 18px !important;
    width: auto !important; cursor: pointer; padding: 0 !important;
}
.btn-lixeira-ultra-mini:hover { color: #e74c3c !important; }

/* BOTÃO GERENTE DISCRETO */
footer { text-align: center; margin-top: 50px; }
.btn-admin {
    background: transparent; color: #777; border: 1px solid #777;
    width: auto; font-size: 12px; padding: 5px 15px;
}

.btn-limpar-geral {
    background-color: #e74c3c !important; /* Vermelho alerta */
    margin-top: 30px;
    width: auto !important; /* Não precisa ocupar a largura toda */
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-limpar-geral:hover {
    background-color: #c0392b !important;
    transform: scale(1.05);
}

/* Botão X de excluir - Ultra Minimalista */
.btn-excluir-lado {
    background: transparent !important; /* Remove o fundo verde/cinza */
    border: none !important;            /* Remove bordas */
    color: #bbb !important;             /* Cor cinza clara para não chamar atenção */
    font-size: 14px !important;         /* Tamanho pequeno */
    cursor: pointer;
    padding: 0 5px !important;          /* Espaçamento interno mínimo */
    width: auto !important;             /* Largura automática ao texto */
    height: auto !important;            /* Altura automática ao texto */
    box-shadow: none !important;        /* Remove sombras */
    transition: 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.btn-excluir-lado:hover {
    color: #e74c3c !important;         /* Fica vermelho apenas ao passar o mouse */
    transform: scale(1.2);              /* Aumenta levemente para dar feedback */
}

/* Ajuste no container para alinhar o X perfeitamente */
.nota-container {
    display: flex;
    align-items: center;
    gap: 5px;
}