/* Estilo inspirado no Vtiger CRM */

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.05);
    border-radius: 8px;
}

h1, h2, h3 {
    color: #333;
}

h2 {
    margin-bottom: 20px;
}

form {
    margin-top: 20px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #444;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

button, .btn {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    margin-top: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover, .btn:hover {
    background-color: #0056b3;
}

a.btn-voltar {
    display: inline-block;
    margin-top: 20px;
    background: #6c757d;
    padding: 8px 15px;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

a.btn-voltar:hover {
    background: #5a6268;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    text-align: left;
}

.table th {
    background-color: #007bff;
    color: white;
}

.table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.table-actions {
    display: flex;
    gap: 10px;
}

.table-actions a {
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.table-actions .edit {
    background-color: #ffc107;
}

.table-actions .edit:hover {
    background-color: #e0a800;
}

.table-actions .delete {
    background-color: #dc3545;
}

.table-actions .delete:hover {
    background-color: #bd2130;
}

/* Login header image */
.login-logo {
    max-width: 100px;
    display: block;
    margin: 0 auto 20px auto;
}
