* {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    padding-bottom: 40px;
}

.mobile-only {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    background: #fff; 
    border-bottom: 1px solid #e5e7eb; 
    padding: 12px 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #e0ebff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h2 {
    font-size: 14px;
    font-weight: bold;
    color: #1e293b;
}

.logo-text span {
    font-size: 10px;
    color: #64748b;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-exit {
    background: #fef2f2;
    color: #ef4444;
    border-color: #fee2e2;
}

.btn-voltar {
    background: #eff6ff;
    color: #2563eb;
    border-color: #dbeafe;
}

.modo-consulta-container {
    display: flex;
    gap: 10px;
    padding: 0 15px;
    margin-bottom: 12px;
}

.btn-modo {
    flex: 1;
    padding: 12px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}

.btn-modo.active {
    background: #e0ebff;
    color: #2563eb;
    border-color: #2563eb;
}

.container-content {
    padding: 0 15px;
    max-width: 600px;
    margin: 0 auto;
}

.card-busca, .nf-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.nf-card {
    border-left: 4px solid #2563eb;
}

.nf-card.nf-entregue-disabled {
    opacity: 0.85;
    background-color: #f8fafc;
    border-left: 4px solid #10b981;
}

.resumo-controle-box {
    background: #e0ebff;
    border: 1px solid #2563eb;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.input-group label {
    font-size: 12px;
    font-weight: bold;
    color: #334155;
}

.input-group input {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    width: 100%;
}

.input-group input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37,99,235,0.1);
}

.btn-primary-wms {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-primary-wms:hover {
    background: #1e40af; /* tom mais escuro de azul */
    transform: scale(1.01); /* leve aumento no tamanho */
}


.nf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.nf-title {
    font-size: 15px;
    font-weight: bold;
    color: #1e293b;
}

.status-options {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.status-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}

.status-btn.entregue.active {
    background: #dcfce7;
    color: #16a34a;
    border-color: #16a34a;
}

.status-btn.nao-entregue.active {
    background: #fee2e2;
    color: #dc2626;
    border-color: #dc2626;
}

.fotos-container {
    margin-top: 10px;
}

.fotos-label {
    font-size: 11px;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 6px;
    display: block;
}

.fotos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.foto-slot {
    aspect-ratio: 1;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.foto-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-slot span {
    font-size: 20px;
    color: #94a3b8;
}

.foto-input-file {
    display: none;
}

.hidden {
    display: none !important;
}