:root {
            --green-dark: #1a7a42; --green-mid: #22a356; --green-pale: #edfaf3;
            --text-dark: #1a1f1c; --text-mid: #4a5550; --text-light: #8a9e95;
            --border: #d4e8dc; --white: #ffffff;
            --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
            --shadow-md: 0 4px 16px rgba(0,0,0,.08);
            --radius: 16px; --radius-sm: 10px;
        }
        * { box-sizing: border-box; }
        body { font-family: 'DM Sans', sans-serif; color: var(--text-dark); background: #f4f6f8; min-height: 100vh; margin: 0; }
        a { text-decoration: none; }
        .site-navbar { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
        .brand-name { font-family: 'DM Serif Display', serif; font-size: 28px; color: var(--green-mid); }

        /* Location strip — sits directly under the navbar, matching every other page */
        .location-bar { border-bottom: 1px solid var(--border); background: #f7fcf9; color: var(--text-light); font-size: 13px; }
        .location-bar .bi { color: var(--green-mid); }
        .location-strong { color: var(--text-dark); font-weight: 700; }

        .nav-action { display: inline-flex; align-items: center; color: var(--text-mid); font-weight: 600; font-size: 14px; transition: color .2s; white-space: nowrap; }
        .nav-action:hover { color: var(--green-mid); }

        /* Icon-only nav button (bell) — round tap target with room for
           the unread badge to sit cleanly, instead of a bare icon. */
        .nav-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: var(--text-mid); font-size: 16px; position: relative; margin: 0 -6px; transition: background .15s, color .15s; }
        .nav-icon-btn:hover { background: var(--green-pale); color: var(--green-dark); }
        .nav-icon-badge { position: absolute; top: 2px; right: 2px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 999px; background: #c0392b; color: #fff; font-size: 10px; font-weight: 700; line-height: 15px; text-align: center; border: 2px solid var(--white); }

        /* Plain separator before Logout/Login */
        .nav-divider { width: 1px; height: 18px; background: var(--border); }

        .card-shell { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 28px; }
        .section-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--border); padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; margin-bottom: 14px; }
        .form-lbl { display: block; font-size: 12px; font-weight: 700; color: var(--text-mid); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
        .form-ctrl { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 14px; font-family: inherit; transition: border-color .15s; }
        .form-ctrl:focus { outline: none; border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(34,163,86,.10); }
        .installation-address { height: 110px; resize: none; overflow-y: auto; }
        .estimate-box { background: var(--green-pale); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; text-align: center; margin: 20px 0; }
        .estimate-box .label { font-size: 12px; color: var(--text-mid); text-transform: uppercase; letter-spacing: .4px; font-weight: 700; }
        .estimate-box .price { font-family: 'DM Serif Display', serif; font-size: 32px; color: var(--green-dark); margin-top: 6px; }
        .btn-main { border: none; border-radius: var(--radius-sm); background: var(--green-mid); color: white; padding: 13px 28px; font-weight: 600; width: 100%; cursor: pointer; transition: background .15s; }
        .btn-main:hover { background: var(--green-dark); color: white; }
        .alert-gh { border-radius: var(--radius-sm); padding: 12px 16px; font-size: 13px; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
        .alert-success { background: var(--green-pale); border: 1.5px solid #b7e4c7; color: var(--green-dark); }
        .alert-error { background: #fff0f0; border: 1.5px solid #ffd5d0; color: #c0392b; }
        .dt { width: 100%; border-collapse: collapse; }
        .dt th { font-size: 11px; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; padding: 9px 12px; background: #f7f9fb; border-bottom: 1px solid var(--border); text-align: left; }
        .dt td { padding: 11px 12px; font-size: 13px; border-bottom: 1px solid var(--border); vertical-align: middle; }
        .dt tr:last-child td { border-bottom: none; }
        .badge-pending { background: #fff8ec; color: #b05900; border: 1px solid #ffe3bb; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .badge-confirmed { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .badge-delivered { background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .badge-cancelled { background: #fff0f0; color: #c0392b; border: 1px solid #ffd5d0; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .badge-transit { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
        .empty-row { text-align: center; color: var(--text-light); padding: 28px !important; }
        .service-desc { font-size: 12px; color: var(--text-light); margin-top: 4px; }

        /* ── Sign-in required modal — same pattern as Add_to_cart.php ── */
        .signin-modal-overlay {
            display: none; position: fixed; inset: 0; z-index: 1100;
            background: rgba(20,30,25,.55); align-items: center; justify-content: center;
            padding: 20px;
        }
        .signin-modal-overlay.open { display: flex; }
        .signin-modal-box {
            background: var(--white); border-radius: 16px; max-width: 380px; width: 100%;
            padding: 28px 26px; text-align: center;
            box-shadow: 0 24px 60px rgba(0,0,0,.3);
        }
        .signin-modal-icon {
            width: 52px; height: 52px; border-radius: 50%; background: var(--green-pale);
            color: var(--green-mid); font-size: 22px; display: flex; align-items: center;
            justify-content: center; margin: 0 auto 14px;
        }
        .signin-modal-box h3 { font-family: 'DM Serif Display', serif; font-size: 20px; color: var(--text-dark); margin-bottom: 8px; }
        .signin-modal-box p { font-size: 13.5px; color: var(--text-mid); margin-bottom: 20px; line-height: 1.5; }
        .signin-modal-actions { display: flex; flex-direction: column; gap: 8px; }
        .signin-modal-actions a.signin-btn-primary {
            display: flex; align-items: center; justify-content: center;
            border: none; border-radius: var(--radius-sm);
            background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
            color: #fff; padding: 12px 20px; font-weight: 600; font-size: 14px;
            text-decoration: none; box-shadow: 0 4px 14px rgba(34,163,86,.28);
            transition: transform .15s ease, box-shadow .15s ease;
        }
        .signin-modal-actions a.signin-btn-primary:hover {
            color: #fff; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(34,163,86,.36);
        }
        .signin-modal-actions a.signin-btn-secondary {
            display: flex; align-items: center; justify-content: center;
            border-radius: var(--radius-sm); border: 1.5px solid var(--border);
            background: var(--white); color: var(--text-dark); padding: 12px 20px;
            font-weight: 600; font-size: 14px; text-decoration: none; transition: all .15s ease;
        }
        .signin-modal-actions a.signin-btn-secondary:hover {
            color: var(--green-dark); border-color: var(--green-mid); background: var(--green-pale);
        }
        .signin-modal-dismiss { margin-top: 12px; background: none; border: none; color: var(--text-light); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
