/* GIROO V15 - SALAO / GARCOM / QR */

.g-waiter-admin-grid {
    max-width: 1460px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 14px;
}

.g-waiter-list {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.g-waiter-card {
    min-height: 66px;
    padding: 10px;
    display: grid;
    grid-template-columns: 44px 1fr auto auto;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e8e1;
    border-radius: 13px;
    background: #f8f9f6;
}

.g-waiter-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #f1ffd9;
    color: #5e8d12;
    font-weight: 900;
}

.g-waiter-card strong,
.g-waiter-card span {
    display: block;
}

.g-waiter-card > div:nth-child(2) span {
    margin-top: 3px;
    color: #7c858b;
    font-size: 8px;
}

.g-waiter-app-bg,
.g-table-public-bg {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(184,255,57,.11), transparent 25%),
        #f3f5f1;
    font-family: Inter, Arial, sans-serif;
}

.g-waiter-login,
.g-waiter-app,
.g-table-public {
    width: min(560px, calc(100% - 22px));
    margin: 0 auto;
}

.g-waiter-login {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.g-waiter-login-card {
    margin-top: 18px;
    padding: 20px;
    border: 1px solid #e4e8e1;
    border-radius: 20px;
    background: #fff;
}

.g-waiter-login-card h1 {
    margin: 5px 0 0;
}

.g-waiter-login-card p {
    color: #7c858b;
    font-size: 9px;
}

.g-waiter-login-card form {
    margin-top: 15px;
    display: grid;
    gap: 10px;
}

.g-waiter-app {
    padding: 15px 0 30px;
}

.g-waiter-head {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border-radius: 17px;
    background: #171a1d;
    color: #fff;
}

.g-waiter-head span {
    color: #b8ff39;
    font-size: 7px;
    font-weight: 900;
}

.g-waiter-head h1 {
    margin: 4px 0 0;
    font-size: 18px;
}

.g-waiter-head a {
    color: #fff;
    font-size: 8px;
    text-decoration: none;
}

.g-waiter-alerts,
.g-waiter-tables {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e4e8e1;
    border-radius: 16px;
    background: #fff;
}

.g-waiter-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.g-waiter-section-title span {
    color: #82905f;
    font-size: 7px;
    font-weight: 900;
}

.g-waiter-section-title strong {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #b8ff39;
    font-size: 10px;
}

.g-waiter-alert {
    width: 100%;
    margin-top: 8px;
    padding: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-align: left;
    border: 1px solid #dce8cb;
    border-radius: 12px;
    background: #f6ffe9;
    cursor: pointer;
}

.g-waiter-alert strong,
.g-waiter-alert span {
    display: block;
}

.g-waiter-alert strong {
    font-size: 9px;
}

.g-waiter-alert span {
    margin-top: 3px;
    color: #6f787d;
    font-size: 8px;
}

.g-waiter-table-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.g-waiter-table-card {
    min-height: 100px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e4e8e1;
    border-radius: 13px;
    background: #f8f9f6;
    color: #171a1d;
    text-decoration: none;
}

.g-waiter-table-card span {
    color: #7c858b;
    font-size: 8px;
}

.g-waiter-table-card strong {
    font-size: 10px;
}

.g-waiter-table-card b {
    color: #5c8c10;
    font-size: 11px;
}

.g-table-public {
    padding: 13px 0 90px;
}

.g-table-public-head {
    padding: 17px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-radius: 18px;
    background: #171a1d;
    color: #fff;
}

.g-table-public-logo {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: #b8ff39;
    color: #171a1d;
    font-size: 22px;
    font-weight: 900;
}

.g-table-public-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-table-public-head span {
    color: #b8ff39;
    font-size: 7px;
    font-weight: 900;
}

.g-table-public-head h1 {
    margin: 4px 0 0;
    font-size: 20px;
}

.g-table-public-head p {
    margin: 5px 0 0;
    color: #b7bec3;
    font-size: 8px;
}

.g-table-public-total {
    margin-top: 9px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    border: 1px solid #e4e8e1;
    border-radius: 13px;
    background: #fff;
}

.g-table-public-total span {
    color: #7c858b;
    font-size: 8px;
}

.g-table-public-total strong {
    font-size: 12px;
}

.g-table-public-products {
    margin-top: 9px;
    display: grid;
    gap: 8px;
}

.g-table-public-product {
    min-height: 88px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 42px;
    align-items: center;
    gap: 10px;
    border: 1px solid #e4e8e1;
    border-radius: 14px;
    background: #fff;
}

.g-table-public-product strong,
.g-table-public-product p,
.g-table-public-product span {
    display: block;
}

.g-table-public-product strong {
    font-size: 10px;
}

.g-table-public-product p {
    margin: 4px 0;
    color: #7c858b;
    font-size: 8px;
}

.g-table-public-product span {
    font-size: 10px;
    font-weight: 900;
}

.g-table-add {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #b8ff39;
    color: #171a1d;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

.g-table-toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 1000;
    transform: translateX(-50%);
    padding: 11px 15px;
    border-radius: 11px;
    background: #171a1d;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.g-v15-gap {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .g-waiter-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .g-waiter-card {
        grid-template-columns: 44px 1fr;
    }

    .g-waiter-card .g-driver-status,
    .g-waiter-card .g-app-access-link {
        grid-column: 2;
        justify-self: start;
    }

    .g-waiter-table-grid {
        grid-template-columns: 1fr 1fr;
    }
}
