* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

.app {
    min-height: 100vh;
}

.sidebar {
    width: 70px;
    background: #202124;
    display: flex;
    flex-direction: column;
    align-items: center;

    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;

    padding: 12px 0;
    overflow-y: auto;
}

.top-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar button {
    width: 52px;
    height: 52px;
    min-height: 52px;
    border: none;
    border-radius: 16px;
    font-size: 26px;
    background: white;
    cursor: pointer;
}

.bottom-button {
    margin-top: auto;
}

.content {
    margin-left: 70px;
    padding: 16px;
    width: calc(100% - 70px);
}

.table-zone {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.table-zone input {
    width: 50%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.page {
    display: none;
}

.product-card {
    background: white;
    border-radius: 18px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-control button {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    background: #222;
    color: white;
}

.qty-control input {
    width: 55px;
    text-align: center;
    font-size: 20px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #bbb;
}

.summary {
    background: white;
    border-radius: 18px;
    padding: 16px;
    margin-top: 20px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
}

.validate {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 16px;
    background: #1a73e8;
    color: white;
    font-size: 18px;
}

.quick-validate {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 10;

    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    background: #1a73e8;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.admin-tabs button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 14px;
    background: #222;
    color: white;
    font-size: 16px;
}

.admin-tab {
    display: none;
}

.admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.admin-small-button {
    width: auto;
    min-width: 130px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    background: #1a73e8;
    color: white;
    font-size: 15px;
    font-weight: bold;
}

.admin-form-card {
    background: #f7f7f7;
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 12px;
}

.admin-form-card button,
.product-admin-form button {
    width: auto;
    min-width: 120px;
    padding: 10px 14px;
    align-self: flex-start;
}

.admin-product-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.admin-product-row select,
.admin-product-row input {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #aaa;
}

.admin-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.toggle-button,
.delete-button,
.admin-small-button {
    width: auto;
    min-width: 150px;
    padding: 10px 14px;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 14px;
}

.toggle-button {
    background: #4b8bbe;
}

.admin-small-button {
    background: #1a73e8;
}

.delete-button {
    background: #c62828;
}

.active-product {
    background: #2e7d32;
}

.inactive-product {
    background: #c62828;
}

#newOrderButton {
    margin-top: 12px;
}