
* {
    margin: 0;
    padding: 0;
    font-family: 'MS Sans Serif', 'Tahoma', 'Arial', sans-serif;
}

body {
    background: #008080;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAIklEQVQIW2P8//8/AwMDAwMDIyMjAwMDIyMjAwMDAwMDAwMAJQIDrffYvZgAAAAASUVORK5CYII=');
    padding: 8px;
    font-size: 12px;
}

.container {
    background: #c0c0c0;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    padding: 2px;
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    background: #000080;
    color: white;
    padding: 10px 15px;
    margin-bottom: 0;
    font-weight: bold;
    font-size: 14px;
}

.header h1 {
    color: white;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.header p {
    color: #c0c0c0;
    font-size: 11px;
    margin: 0;
    padding: 0;
}

.tabs {
    display: flex;
    background: #c0c0c0;
    margin-top: 0;
    border: none;
    padding: 2px 2px 0 2px;
}

.tab {
    padding: 4px 12px;
    cursor: pointer;
    background: #c0c0c0;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    font-size: 11px;
    margin-right: 4px;
    font-weight: bold;
    min-width: 120px;
}

.tab.active {
    background: #c0c0c0;
    border-bottom-color: #c0c0c0;
    position: relative;
    top: 2px;
}

.tab-content {
    display: none;
    padding: 12px;
    border: 2px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
    margin-top: -2px;
}

.tab-content.active {
    display: block;
}

h2 {
    background: #000080;
    color: white;
    padding: 6px 8px;
    font-size: 13px;
    margin: 15px 0 12px 0;
    border: 1px solid #404080;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 2px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}

th {
    background: #000080;
    color: white;
    padding: 6px 8px;
    text-align: left;
    font-weight: bold;
    font-size: 11px;
    border-right: 1px solid #404080;
    border-bottom: 2px solid #808080;
}

td {
    padding: 5px 8px;
    border-right: 1px solid #c0c0c0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 11px;
    vertical-align: middle;
}

tr:nth-child(odd) {
    background: #ffffff;
}

tr:nth-child(even) {
    background: #e8e8e8;
}

.cliente-row {
    background: #d4d0c8 !important;
    font-weight: bold;
    cursor: pointer;
}

.cliente-row:hover {
    background: #c0c0c0 !important;
}

.cliente-row td {
    padding: 8px;
    border-bottom: 2px solid #808080;
}

.compras-detalhes {
    display: none;
    background: #f0f0f0;
}

.compras-detalhes.show {
    display: table-row;
}

.compras-detalhes td {
    padding: 0;
    border: none;
}

.detalhes-table {
    width: 100%;
    margin: 5px;
    background: white;
    border: 1px solid #808080;
}

.detalhes-table th {
    background: #404080;
    font-size: 10px;
    padding: 4px 6px;
}

.detalhes-table td {
    padding: 4px 6px;
    font-size: 11px;
    border: 1px solid #c0c0c0;
}

.status {
    padding: 2px 8px;
    font-size: 10px;
    font-weight: bold;
    border: 1px solid;
    display: inline-block;
}

.status.pago {
    background: #c0ffc0;
    color: #006000;
    border-color: #00a000;
}

.status.pendente {
    background: #ffc0c0;
    color: #a00000;
    border-color: #ff0000;
}

.btn {
    padding: 4px 10px;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    cursor: pointer;
    font-size: 11px;
    font-weight: bold;
    margin: 1px;
    background: #c0c0c0;
    min-width: 60px;
}

.btn:hover {
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
}

.btn-success {
    background: #00c000;
    color: white;
}

.btn-warning {
    background: #c0c000;
    color: black;
}

.btn-danger {
    background: #c00000;
    color: white;
}

.btn-info {
    background: #0000c0;
    color: white;
}

.btn-primary {
    background: #000080;
    color: white;
    padding: 6px 16px;
    font-size: 12px;
}

.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
    color: black;
    font-size: 11px;
}

input, select, textarea {
    padding: 5px;
    border: 2px solid;
    border-top-color: #808080;
    border-left-color: #808080;
    border-right-color: #dfdfdf;
    border-bottom-color: #dfdfdf;
    background: white;
    font-size: 11px;
    width: 100%;
}

input:focus, select:focus {
    border: 2px solid #000080;
    outline: none;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin: 0;
}

.filters {
    background: #c0c0c0;
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    display: flex;
    gap: 12px;
}

.filters .form-group {
    margin-bottom: 0;
    flex: 1;
}

.summary-cards {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.summary-card {
    padding: 12px;
    flex: 1;
    min-width: 180px;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    background: #c0c0c0;
}

.summary-card h3 {
    font-size: 11px;
    margin-bottom: 8px;
    color: #000080;
    font-weight: bold;
}

.summary-card .value {
    font-size: 20px;
    font-weight: bold;
    color: black;
}

.toggle-icon {
    display: inline-block;
    font-size: 10px;
    margin-right: 5px;
}

.toggle-icon.open {
    transform: rotate(90deg);
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    background: #ffffc0;
    font-size: 11px;
}

.alert-info {
    background: #c0e0ff;
    border-color: #000080;
}

.form-edit {
    background: #ffffc0;
    padding: 15px;
    margin-bottom: 15px;
    border: 2px solid #c0c000;
}

.form-edit h3 {
    background: #c0c000;
    color: black;
    padding: 5px 8px;
    margin: -15px -15px 10px -15px;
    font-size: 12px;
}

/* Estilo para botões na mesma linha (formulários inline) */
form[style*="inline"] {
    display: inline;
    margin-right: 3px;
}

/* Scrollbar estilo Windows 95 */
::-webkit-scrollbar {
    width: 16px;
    background: #c0c0c0;
}

::-webkit-scrollbar-thumb {
    background: #808080;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #000000;
    border-bottom-color: #000000;
}

::-webkit-scrollbar-button {
    background: #c0c0c0;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #000000;
    border-bottom-color: #000000;
}



/* editando aparit daqui */

.container.fullscreen {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

body {
    background: #008080;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAIklEQVQIW2P8//8/AwMDAwMDIyMjAwMDIyMjAwMDAwMDAwMAJQIDrffYvZgAAAAASUVORK5CYII=');

    /* 🔴 ESTE padding cria borda e impede uso total da tela */
    /* padding: 8px; */

    /* ✅ Use isso para ocupar 100% da largura */
    padding: 0;

    font-size: 12px;
}
.container {
    background: #c0c0c0;
    border: 2px solid;
    border-top-color: #dfdfdf;
    border-left-color: #dfdfdf;
    border-right-color: #808080;
    border-bottom-color: #808080;
    padding: 2px;

    /* 🔴 LIMITA a largura máxima */
    /* max-width: 1400px; */

    /* 🔴 Centraliza o container */
    /* margin: 0 auto; */

    /* ✅ Para usar toda a tela */
    width: 100%;
    max-width: 100%;
    margin: 0;
}
html, body {
    width: 100%;
    height: 100%;
}
