/* WebForms glue on top of the original Mangoes template stylesheet. */
.wf-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 16px 110px;
}

.wf-auth-page {
    padding-bottom: 0;
}

.wf-auth-page .wf-page {
    max-width: none;
    padding: 0;
}

.wf-panel-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.wf-form-message {
    margin-bottom: 14px;
}

.wf-form-grid {
    display: grid;
    gap: 12px;
}

.wf-dash-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wf-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 14px;
}

.wf-link-card {
    color: inherit;
    display: block;
}

.wf-empty {
    text-align: center;
    padding: 38px 18px;
    color: var(--text-soft);
}

.wf-price {
    color: var(--primary);
    font-weight: 800;
}

.wf-meta-line {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.6;
}

.wf-bill-card {
    background: var(--card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 16px;
}

.wf-page .auth-card,
.wf-page .app-form-card {
    margin-left: auto;
    margin-right: auto;
}

.wf-page .hero {
    margin-bottom: 16px;
}

.wf-map-panel {
    min-height: 240px;
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.28) 1px, transparent 1px),
        linear-gradient(135deg, #F8C21B, #FF6B00);
    background-size: 34px 34px, 34px 34px, auto;
    position: relative;
    overflow: hidden;
}

.wf-map-pin {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--card);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.wf-bottom-gap {
    margin-bottom: 16px;
}

.alert {
    background: #fff;
    border-left: 4px solid var(--primary);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    font-size: 12.5px;
    margin: 12px 16px;
    padding: 12px 14px;
}

.alert.error {
    border-left-color: #E74C3C;
}

.wf-page .topbar {
    margin-bottom: 10px;
}

.wf-page-header-tight {
    margin-bottom: 8px;
}

.wf-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.brand-logo img {
    display: block;
    height: 28px;
    width: 28px;
    object-fit: contain;
}

.field-input span {
    color: var(--text-faint);
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 800;
    min-width: 18px;
    text-align: center;
}

.field-input textarea {
    background: transparent;
    flex: 1;
    font-size: 13.5px;
    min-height: 88px;
    resize: vertical;
}

.wf-page .select-input,
.wf-page .textarea-field {
    display: block;
}

.wf-muted {
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.55;
}

.wf-menu-price {
    margin-left: auto;
}

.wf-list-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wf-action-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.wf-action-row .btn {
    text-align: center;
}

.vendor-list .r-card-lg:nth-child(3n+1) .r-thumb-sq,
.wf-restaurant-hero,
.wf-cart-thumb {
    background: linear-gradient(135deg, #FF9966, #FF5E62);
}

.vendor-list .r-card-lg:nth-child(3n+2) .r-thumb-sq,
.wf-menu-thumb {
    background: linear-gradient(135deg, #43C6AC, #191654);
}

.vendor-list .r-card-lg:nth-child(3n) .r-thumb-sq {
    background: linear-gradient(135deg, #F7971E, #FFD200);
}

.vendor-list .svc-card-lg:nth-child(3n+1) .r-thumb-sq,
.wf-provider-hero {
    background: linear-gradient(135deg, #F7B733, #FC4A1A);
}

.vendor-list .svc-card-lg:nth-child(3n+2) .r-thumb-sq {
    background: linear-gradient(135deg, #2ECC71, #168A45);
}

.vendor-list .svc-card-lg:nth-child(3n) .r-thumb-sq {
    background: linear-gradient(135deg, #8E7CFF, #6C5CE7);
}

.product-grid .p-card:nth-child(4n+1) .p-thumb,
.wf-product-gallery,
.my-product-card:nth-child(4n+1) .my-product-thumb {
    background: linear-gradient(135deg, #232526, #414345);
}

.product-grid .p-card:nth-child(4n+2) .p-thumb,
.my-product-card:nth-child(4n+2) .my-product-thumb {
    background: linear-gradient(135deg, #C79081, #DFA579);
}

.product-grid .p-card:nth-child(4n+3) .p-thumb,
.my-product-card:nth-child(4n+3) .my-product-thumb {
    background: linear-gradient(135deg, #0F2027, #2C5364);
}

.product-grid .p-card:nth-child(4n) .p-thumb,
.my-product-card:nth-child(4n) .my-product-thumb {
    background: linear-gradient(135deg, #F8C21B, #FF8A00);
}

.qty-stepper a {
    align-items: center;
    color: var(--primary);
    display: flex;
    font-size: 15px;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.timeline-dot .wf-symbol {
    color: #fff;
    font-size: 10px;
}

.my-product-actions a {
    align-items: center;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.my-product-actions a .wf-symbol {
    color: var(--primary-dark);
}

.coupon-row input[type="submit"] {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.wf-empty-card {
    margin: 16px;
    text-align: center;
}

.wf-call-mini {
    min-width: 88px;
    width: auto;
}

.wf-sticky-pair {
    justify-content: flex-end;
}

.wf-sticky-pair .btn {
    flex: 0 1 auto;
}

.track-pin {
    background: var(--card);
    border-radius: 100px;
    box-shadow: var(--shadow-sm);
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 800;
    padding: 8px 10px;
}

@media (max-width: 760px) {
    .wf-card-grid,
    .wf-dash-grid {
        grid-template-columns: 1fr;
    }

    .wf-page {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* WebForms integration for the user_html mobile app design. */
#form1{min-height:100vh}
.aspNetHidden{display:none}
#main-content{min-height:calc(100vh - var(--nav-h));}
.wf-auth-page{padding-bottom:0!important}
.wf-auth-page #main-content{max-width:none;margin:0;padding:0;min-height:100vh}
.wf-db-warning{margin:12px 16px;position:relative;z-index:3}
.icon-back{transform:rotate(180deg)}
.field-input input[type="text"],.field-input input[type="password"],.field-input input[type="email"],.field-input input[type="tel"]{flex:1;font-size:13.5px;background:transparent;width:100%}
.field-input svg{width:18px;height:18px;color:var(--text-faint);flex-shrink:0}
input[type="submit"].btn{border:0;cursor:pointer;text-align:center}
select.select-input{appearance:auto;-webkit-appearance:auto;width:100%}
textarea.textarea-field{width:100%}
.explore-icon svg{width:18px;height:18px;color:var(--primary-dark)}
.r-meta svg{width:14px;height:14px;color:var(--primary);vertical-align:-2px;margin-right:3px}
.nav-cart-count{position:absolute;top:5px;right:16%;min-width:16px;height:16px;border-radius:50%;background:var(--secondary);color:var(--on-primary);font-size:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 4px}
.upload-thumb.add svg{width:22px;height:22px}
.role-info-list svg{width:16px;height:16px;color:var(--primary);margin-right:8px;vertical-align:-3px}

.wf-profile-empty-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:var(--text-soft);font-size:13px}
.wf-profile-empty-row strong{color:var(--primary-dark);font-size:12px}
