/* backend/app/web/static/css/base.css */
/* Estilos básicos compartilhados */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

a {
    color: #1976d2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    cursor: pointer;
    background-color: #1976d2;
    color: #fff;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.button.secondary {
    background-color: #e0e0e0;
    color: #333;
}

.button.danger {
    background-color: #e53935;
    color: #fff;
}

.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.button:hover:not(:disabled) {
    background-color: #1565c0;
}

input, select, textarea {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 0.5rem;
    font-size: 0.95rem;
    width: 100%;
}

label {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.25rem;
    display: block;
}

.form-group {
    margin-bottom: 1rem;
}

.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.page-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table th, .table td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eee;
}

.table th {
    text-align: left;
    background-color: #fafafa;
}