body {
    background: #f4f6f9;
    font-family: Arial, Helvetica, sans-serif;
}

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #003b73, #ff7a00);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 22px;
    padding: 35px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.logo-box {
    width: 82px;
    height: 82px;
    border-radius: 22px;
    background: linear-gradient(135deg, #003b73, #ff7a00);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 18px auto;
}

.sidebar {
    min-height: 100vh;
    background: #003b73;
    color: #fff;
    padding: 20px;
}

.sidebar h4 {
    color: #fff;
    font-weight: bold;
}

.sidebar a {
    display: block;
    color: #dbeafe;
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 6px;
}

.sidebar a:hover,
.sidebar a.active {
    background: #ff7a00;
    color: #fff;
}

.topbar {
    background: #fff;
    padding: 18px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.card-dashboard {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.big-number {
    font-size: 32px;
    font-weight: bold;
}

.btn-orange {
    background: #ff7a00;
    color: #fff;
    border: none;
}

.btn-orange:hover {
    background: #e66d00;
    color: #fff;
}

.page-title {
    font-weight: bold;
    color: #1f2937;
}

.table-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
}

.product-badge {
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 999px;
}

.action-btn {
    border-radius: 10px;
}

.form-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.status-active {
    color: #198754;
    font-weight: bold;
}

.status-inactive {
    color: #dc3545;
    font-weight: bold;
}

.product-photo-thumb {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    background: #fff;
}

.product-photo-placeholder {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.logo-menu {
    width: 42px;
    height: 42px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 3px;
}

.logo-login {
    max-width: 130px;
    max-height: 130px;
    object-fit: contain;
    display: block;
    margin: 0 auto 18px auto;
}

.command-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: 0.2s;
}

.command-card:hover {
    transform: translateY(-3px);
}

.command-total {
    font-size: 28px;
    font-weight: bold;
    color: #003b73;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
}

.product-button {
    min-height: 155px;
    border: 2px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    text-decoration: none;
    color: #1f2937;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.2s;
    overflow: hidden;
}

.product-button:hover {
    border-color: #ff7a00;
    background: #fff7ed;
    color: #111827;
}

.product-button img {
    width: 100%;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    background: #f3f4f6;
}

.product-button .product-no-image {
    width: 100%;
    height: 82px;
    border-radius: 14px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

.product-button strong {
    font-size: 15px;
    line-height: 17px;
    margin-top: 8px;
}

.product-button span {
    font-size: 17px;
    font-weight: bold;
    color: #ff7a00;
}

.total-box {
    background: linear-gradient(135deg, #003b73, #ff7a00);
    color: #fff;
    border-radius: 20px;
    padding: 22px;
}

.total-box .valor {
    font-size: 36px;
    font-weight: bold;
}

.suggestion-box {
    border: 2px dashed #ff7a00;
    background: #fff7ed;
    border-radius: 18px;
    padding: 16px;
}

.client-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.debt-value {
    font-size: 22px;
    font-weight: bold;
    color: #dc3545;
}

.history-total {
    font-size: 20px;
    font-weight: bold;
    color: #003b73;
}

.cash-box {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.cash-value {
    font-size: 30px;
    font-weight: bold;
    color: #003b73;
}

.cash-open {
    background: #e8f7ef;
    border-left: 6px solid #198754;
}

.cash-closed {
    background: #f8f9fa;
    border-left: 6px solid #6c757d;
}

.cash-warning {
    background: #fff3cd;
    border-left: 6px solid #ffc107;
}

.report-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.report-value {
    font-size: 30px;
    font-weight: bold;
    color: #003b73;
}

.report-small {
    font-size: 14px;
    color: #6b7280;
}

.report-orange {
    color: #ff7a00;
}

.report-green {
    color: #198754;
}

.report-red {
    color: #dc3545;
}

.user-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.profile-badge {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 999px;
}

.profile-admin {
    background: #003b73;
    color: #fff;
}

.profile-caixa {
    background: #198754;
    color: #fff;
}

.profile-garcom {
    background: #ff7a00;
    color: #fff;
}

.profile-bar {
    background: #6f42c1;
    color: #fff;
}
