/* static/css/estilos.css - Estilos complementares ao Tailwind */

/* Formulários - Estilos específicos não cobertos pelo Tailwind */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    background-color: #f9fafb; /* Fundo sutil para identificar campos clicáveis */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ed3925;
    border-color: #ed3925;
    background-color: #ffffff; /* Fundo branco no foco */
}

/* Tabelas */
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
}

th, td {
    padding: 0.75rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background-color: #f9fafb;
    font-weight: 600;
    color: #111827;
}

tbody tr:hover {
    background-color: #f9fafb;
}

/* Botões personalizados */
.btn-primary {
    background-color: #ed3925;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    transform: scale(1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

.btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ed3925, 0 0 0 4px rgba(237, 57, 37, 0.1);
}

.btn-secondary {
    background-color: #6b7280;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #4b5563;
}

.btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 2px #6b7280, 0 0 0 4px rgba(107, 114, 128, 0.1);
}

/* Cards */
.card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.card-header {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsividade adicional */
@media (max-width: 640px) {
    .card {
        padding: 1rem;
    }

    th, td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
}

