* { box-sizing: border-box; }
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #f0f2f5; margin: 20px; color: #333; }
h1, h2, h3 { background: #1a2a3a; color: #fff; padding: 15px; border-radius: 6px; margin-top: 0; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
h1 { text-align: center; }
.app-logo { display: inline-block; width: 40px; height: 40px; object-fit: contain; vertical-align: middle; margin-right: 10px; border-radius: 6px; }
.box { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #e1e4e8; }

        .tab-container { display: flex; gap: 4px; margin-bottom: -1px; flex-wrap: wrap; }
        .tab { padding: 12px 22px; cursor: pointer; background: #cbd3da; border-radius: 8px 8px 0 0; font-weight: bold; border: none; transition: 0.3s; color: #444; font-size: 13px; }
        .tab.active { background: #1a2a3a; color: white; }
        .tab-content { display: none; border-top: 5px solid #1a2a3a; }
        .tab-content.active { display: block; }

        input, select, textarea { padding: 10px; width: 100%; margin-top: 8px; border: 1px solid #cbd3da; border-radius: 5px; font-size: 14px; }
        button { padding: 10px 16px; border: none; border-radius: 5px; cursor: pointer; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px; color: #fff; }
        button:hover { filter: brightness(0.88); }

        .btn-green  { background: #28a745; }
        .btn-blue   { background: #007bff; }
        .btn-orange { background: #fd7e14; }
        .btn-red    { background: #dc3545; }
        .btn-dark   { background: #343a40; }
        .btn-purple { background: #6f42c1; }
        .btn-wine   { background: #990000; }

        table { width: 100%; border-collapse: collapse; margin-top: 16px; }
        th, td { border: 1px solid #dee2e6; padding: 10px 12px; text-align: center; white-space: nowrap; }
        th { background: #f8f9fa; color: #1a2a3a; font-weight: 700; text-transform: uppercase; font-size: 11px; }
        .melhor { background: #c3e6cb !important; font-weight: bold; color: #155724; }

        .btn-acao { width: auto; padding: 5px 9px; margin: 2px; border-radius: 4px; }
        .btn-sm { padding: 3px 8px; font-size: 10px; width: auto; border-radius: 3px; }
        .lock-msg { text-align: center; padding: 40px; color: #777; font-style: italic; }

        td input[type="number"] { width: 85px !important; padding: 5px; margin: 0; text-align: center; border: 1px solid #ddd; border-radius: 4px; }
        td { min-width: 80px; }

        .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
        .badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; }
        .badge-green { background:#d4edda; color:#155724; }
        .badge-red   { background:#f8d7da; color:#721c24; }
        .badge-blue  { background:#cce5ff; color:#004085; }
        .tag-forn { display:inline-flex; align-items:center; gap:4px; background:#e9ecef; border-radius:20px; padding:4px 10px; font-size:12px; margin:3px; }
        .tag-forn button { padding:0 5px; background:#dc3545; color:#fff; border-radius:50%; font-size:10px; line-height:14px; min-width:16px; }
