.gp26-app {
    max-width: 720px;
    margin: 20px auto;
    background: #FFFDF7;
    border: 2px solid #E8A33D;
    border-radius: 16px;
    padding: 20px;
    font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: #3a2c1a;
    box-shadow: 0 4px 18px rgba(166,83,26,0.15);
}

.gp26-lang-toggle {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 8px;
}
.gp26-lang-btn {
    border: 1px solid #C97A1E;
    background: #FFF6E8;
    color: #A6531A;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 14px;
    font-size: 13px;
    cursor: pointer;
}
.gp26-lang-btn.active {
    background: #C97A1E;
    color: #FFFDF7;
}

.gp26-header {
    text-align: center;
    margin-bottom: 6px;
}
.gp26-header > div:first-child {
    font-size: 22px;
    font-weight: 800;
    color: #A6531A;
    letter-spacing: 0.5px;
}
.gp26-header-sub {
    font-size: 19px;
    font-weight: 800;
    color: #C97A1E;
    margin-top: 2px;
}
.gp26-header-note {
    font-size: 14px;
    font-weight: 700;
    color: #3a2c1a;
    margin-top: 4px;
}

.gp26-ganesh-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    margin: 10px 0 4px;
}
.gp26-ganesh-svg {
    width: 130px;
    height: 140px;
    animation: gp26-float 3.2s ease-in-out infinite;
}
@keyframes gp26-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.gp26-dhoopam-left, .gp26-dhoopam-right {
    position: relative;
    width: 24px;
    height: 90px;
}
.gp26-smoke {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(180,180,180,0.55) 0%, rgba(180,180,180,0) 70%);
    filter: blur(1px);
    animation: gp26-rise 2.6s ease-in infinite;
}
.gp26-smoke.s2 { animation-delay: 0.7s; }
.gp26-smoke.s3 { animation-delay: 1.4s; }
@keyframes gp26-rise {
    0%   { transform: translate(-50%, 0) scale(0.6) rotate(0deg); opacity: 0; }
    15%  { opacity: 0.8; }
    100% { transform: translate(calc(-50% + 14px), -85px) scale(2.4) rotate(25deg); opacity: 0; }
}

.gp26-top-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 14px 0 18px;
}
.gp26-btn {
    background: #FFF6E8;
    border: 2px solid #C97A1E;
    color: #A6531A;
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}
.gp26-btn:hover { background: #FCE7C4; }
.gp26-btn-main {
    background: #C97A1E;
    color: #FFFDF7;
}
.gp26-btn-main:hover { background: #A6531A; }
.gp26-btn-submit {
    background: #2E7D32;
    color: #fff;
    border-color: #2E7D32;
    width: 100%;
    padding: 13px;
    font-size: 16px;
    margin-top: 12px;
}
.gp26-btn-accept {
    background: #1565C0;
    color: #fff;
    border-color: #1565C0;
}
.gp26-btn-logout, .gp26-btn-reject, .gp26-btn-delete {
    background: #C62828;
    color: #fff;
    border-color: #C62828;
}
.gp26-btn-approve {
    background: #2E7D32;
    color: #fff;
    border-color: #2E7D32;
}
.gp26-btn-public {
    background: #6A1B9A;
    color: #fff;
    border-color: #6A1B9A;
}

.gp26-view { margin-top: 10px; }
.gp26-home-msg {
    text-align: center;
    font-weight: 700;
    font-size: 15px;
}

.gp26-field { margin-bottom: 14px; }
.gp26-field label {
    display: block;
    font-weight: 700;
    color: #3a2c1a;
    margin-bottom: 4px;
    font-size: 14px;
}
.gp26-field input[type="text"],
.gp26-field input[type="tel"],
.gp26-field input[type="number"],
.gp26-field input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid #E8C79A;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #3a2c1a;
    background: #fff;
}
.gp26-field input:focus {
    outline: none;
    background: #FFF9C4;
    border-color: #C97A1E;
}
.gp26-field-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.gp26-field-row .gp26-field { flex: 1; min-width: 140px; }

.gp26-note {
    font-size: 12px;
    color: #7a5a2e;
    margin-top: 4px;
    font-weight: 600;
}

.gp26-section-title {
    font-weight: 800;
    color: #A6531A;
    font-size: 16px;
    margin: 18px 0 8px;
    border-bottom: 2px solid #E8A33D;
    padding-bottom: 4px;
}

.gp26-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.gp26-radio-group label {
    background: #FFF6E8;
    border: 2px solid #E8C79A;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.gp26-radio-group input:checked + label,
.gp26-radio-group label:has(input:checked) {
    border-color: #C97A1E;
    background: #FFF9C4;
}

.gp26-grant-box {
    background: #FFF6E8;
    border: 2px dashed #C97A1E;
    border-radius: 10px;
    padding: 12px;
    margin: 14px 0;
    font-weight: 800;
    color: #A6531A;
    font-size: 14px;
    text-align: center;
}
.gp26-grant-box div { margin: 3px 0; }

.gp26-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.gp26-checkbox-label input { margin-top: 3px; }

.gp26-conditions-box {
    background: #FFF3E0;
    border: 2px solid #E8A33D;
    border-radius: 10px;
    padding: 12px;
    margin-top: 8px;
}

.gp26-payment-box {
    background: #E8F5E9;
    border: 2px solid #2E7D32;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    font-weight: 700;
}

.gp26-form-msg {
    font-weight: 800;
    margin: 10px 0;
    min-height: 18px;
}
.gp26-form-msg.error { color: #C62828; }
.gp26-form-msg.success { color: #2E7D32; }

.gp26-demo-btn {
    display: block;
    margin: 0 auto 14px;
    background: #FFF9C4;
    border: 2px dashed #C97A1E;
    color: #A6531A;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 999px;
    cursor: pointer;
}

.gp26-table-wrap { overflow-x: auto; margin-top: 10px; }
table.gp26-admin-table, .gp26-table-wrap table {
    border-collapse: collapse;
    width: 100%;
    background: #fff;
}
table.gp26-admin-table th, table.gp26-admin-table td,
.gp26-table-wrap table th, .gp26-table-wrap table td {
    border: 1px solid #E8C79A;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1a;
    word-break: break-word;
}
table.gp26-admin-table th, .gp26-table-wrap table th {
    background: #FFF6E8;
    color: #A6531A;
}

.gp26-admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.gp26-stat-boxes {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gp26-stat-box {
    background: #FFF6E8;
    border: 2px solid #E8A33D;
    border-radius: 10px;
    padding: 8px 14px;
    text-align: center;
    min-width: 80px;
}
.gp26-stat-box .n { font-size: 18px; font-weight: 800; color: #A6531A; }
.gp26-stat-box .l { font-size: 11px; font-weight: 700; color: #7a5a2e; }

.gp26-admin-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.gp26-filter-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.gp26-filter-btn {
    border: 2px solid #C97A1E;
    background: #FFF6E8;
    color: #A6531A;
    font-weight: 700;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 13px;
    cursor: pointer;
}
.gp26-filter-btn.active { background: #C97A1E; color: #fff; }
#gp26-search {
    padding: 7px 10px;
    border: 2px solid #E8C79A;
    border-radius: 8px;
    font-weight: 700;
    min-width: 200px;
}

.gp26-bulk-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
}

.gp26-status-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}
.gp26-status-badge.pending { background: #F9A825; }
.gp26-status-badge.approved { background: #2E7D32; }
.gp26-status-badge.rejected { background: #C62828; }

.gp26-row-actions { display: flex; gap: 4px; flex-wrap: wrap; }
.gp26-row-actions button {
    font-size: 11px;
    padding: 4px 7px;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    color: #fff;
}
.gp26-row-actions .approve { background: #2E7D32; }
.gp26-row-actions .reject { background: #C62828; }
.gp26-row-actions .edit { background: #F9A825; color:#3a2c1a; }
.gp26-row-actions .delete { background: #B71C1C; }
.gp26-row-actions .publish { background: #6A1B9A; }
.gp26-row-actions .paytoggle { background: #00838F; }

.gp26-btn-donate {
    background: #E65100;
    color: #fff;
    border-color: #E65100;
}
.gp26-btn-donate:hover { background: #BF360C; }

.gp26-admin-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    border-bottom: 2px solid #E8C79A;
}
.gp26-admin-tab-btn {
    background: #FFF6E8;
    border: 2px solid #E8C79A;
    border-bottom: none;
    color: #A6531A;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}
.gp26-admin-tab-btn.active { background: #C97A1E; color: #fff; border-color: #C97A1E; }

.gp26-status-badge.delivered { background: #2E7D32; }
.gp26-status-badge.under_process { background: #F9A825; }
.gp26-status-badge.paid { background: #2E7D32; }
.gp26-status-badge.unpaid { background: #C62828; }

.gp26-clickable-row { cursor: pointer; }
.gp26-clickable-row:hover { background: #FFF9C4; }

.gp26-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(60,40,20,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 16px;
}
.gp26-modal-box {
    background: #FFFDF7;
    border: 2px solid #E8A33D;
    border-radius: 14px;
    padding: 22px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.gp26-modal-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    font-weight: 800;
    color: #A6531A;
    cursor: pointer;
}
#gp26-kitchen-pin {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 2px solid #E8C79A;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0;
}
.gp26-detail-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #FFF3E0;
    padding: 6px 0;
    font-weight: 700;
    font-size: 14px;
}
.gp26-detail-row span:first-child { color: #7a5a2e; }
.gp26-contrib-thanks {
    background: #FFF6E8;
    border: 2px dashed #C97A1E;
    border-radius: 10px;
    padding: 8px 12px;
    display: inline-block;
    color: #A6531A;
    font-weight: 800;
}

/* ---- Booking calendar ---- */
.gp26-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin: 10px 0;
    max-width: 420px;
}
.gp26-cal-dow {
    text-align: center;
    font-weight: 800;
    font-size: 12px;
    color: #A6531A;
}
.gp26-cal-day {
    text-align: center;
    padding: 10px 0;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    background: #f2f2f2;
    color: #999;
    cursor: default;
}
.gp26-cal-day.gp26-cal-active {
    background: #FFF6E8;
    border: 2px solid #E8C79A;
    color: #3a2c1a;
    cursor: pointer;
}
.gp26-cal-day.gp26-cal-active:hover { background: #FFF9C4; }
.gp26-cal-day.gp26-cal-selected {
    background: #C97A1E;
    border-color: #A6531A;
    color: #fff;
}
.gp26-cal-day.gp26-cal-empty { background: transparent; }

/* ---- Add Item / paid menu ---- */
.gp26-item-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0;
}
.gp26-chip {
    background: #FFF6E8;
    border: 2px solid #C97A1E;
    color: #A6531A;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.gp26-chip .x {
    cursor: pointer;
    font-weight: 800;
    color: #C62828;
}
.gp26-paid-warning {
    background: #FFF3E0;
    border: 2px solid #E65100;
    color: #BF360C;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
}
.gp26-menu-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
/* Item modal gets extra width so the Qty box and the Subtotal (up to Rs.1,49,850 for
   999 qty x Rs.150) always have room to show their full number. */
#gp26-item-modal .gp26-modal-box {
    max-width: 640px;
}
.gp26-menu-row {
    display: grid !important;
    grid-template-columns: minmax(110px, 1fr) 56px 14px 84px 128px;
    align-items: center;
    gap: 8px;
    background: #FFF6E8;
    border: 2px solid #E8C79A;
    border-radius: 10px;
    padding: 8px 10px;
}
.gp26-menu-row.gp26-menu-header {
    background: transparent;
    border: none;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
    color: #7a5a2e;
    text-transform: uppercase;
}
.gp26-menu-name {
    font-weight: 700 !important;
    white-space: normal !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
    display: block !important;
    writing-mode: horizontal-tb !important;
    min-width: 0;
}
.gp26-menu-price { font-weight: 800; color: #A6531A; white-space: nowrap; }
.gp26-menu-x { font-weight: 800; color: #7a5a2e; text-align: center; }
.gp26-qty-input {
    width: 84px !important;
    max-width: 84px;
    min-width: 84px;
    text-align: center;
    border: 2px solid #E8C79A;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    padding: 6px 4px;
    box-sizing: border-box;
    -moz-appearance: textfield;
}
.gp26-qty-input::-webkit-outer-spin-button,
.gp26-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.gp26-menu-subtotal {
    font-weight: 800;
    font-size: 14px;
    color: #2E7D32;
    white-space: nowrap;
    text-align: right;
    overflow: visible;
}
.gp26-item-total {
    text-align: center;
    font-weight: 800;
    font-size: 16px;
    color: #A6531A;
    margin-bottom: 14px;
}

/* ---- Area suggestions dropdown (free Telangana search, no API key needed) ---- */
.gp26-suggest-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: #FFFDF7;
    border: 2px solid #C97A1E;
    border-top: none;
    border-radius: 0 0 10px 10px;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.gp26-suggest-item {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #3a2c1a;
    cursor: pointer;
    border-bottom: 1px solid #FFF3E0;
}
.gp26-suggest-item:last-child { border-bottom: none; }
.gp26-suggest-item:hover { background: #FFF9C4; }
.gp26-link-box {
    background: #FFF6E8;
    border: 2px dashed #C97A1E;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 14px 0;
}

.gp26-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #2E7D32;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 99999;
}
.gp26-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.gp26-demo-highlight {
    outline: 3px solid #1565C0 !important;
    box-shadow: 0 0 0 6px rgba(21,101,192,0.25) !important;
}
.gp26-demo-caption {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: #A6531A;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 800;
    max-width: 90%;
    text-align: center;
    z-index: 100000;
}

@media (max-width: 480px) {
    .gp26-app { padding: 14px; margin: 10px; }
    .gp26-ganesh-svg { width: 100px; height: 108px; }

    /* Item modal: shrink the fixed columns on small phones so the Name column
       still gets room, while Qty and Subtotal stay wide enough to show
       999 qty / Rs.1,49,850.00 in full, never cropped. */
    #gp26-item-modal .gp26-modal-box { padding: 14px; }
    .gp26-menu-row {
        grid-template-columns: minmax(70px, 1fr) 44px 10px 60px 92px;
        gap: 6px;
        padding: 6px 6px;
    }
    .gp26-menu-price { font-size: 12px; }
    .gp26-qty-input {
        width: 60px !important;
        max-width: 60px;
        min-width: 60px;
        font-size: 14px;
        padding: 4px 2px;
    }
    .gp26-menu-subtotal { font-size: 11px; }
}
