/* ═══════════════════════════════════════════════════════════════
   Upazila Super App v3.2 — FINAL Premium Mobile Design
   Scoped under #upz-root for zero WP theme conflicts
   ═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

/* ═══ FULL RESET under #upz-root ═══ */
#upz-root *,
#upz-root *::before,
#upz-root *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

#upz-root {
    font-family: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f4f5f7;
    color: #222;
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    line-height: 1.5;
}

#upz-root a {
    text-decoration: none;
    color: inherit;
}

#upz-root button {
    font-family: inherit;
}

#upz-root img {
    max-width: 100%;
}

/* ═══ HEADER ═══ */
#upz-root .hdr {
    background: linear-gradient(180deg, #1a8e3e 0%, #22a948 100%);
    padding: 12px 14px 10px;
    position: sticky;
    top: 0;
    z-index: 500;
}

#upz-root .hdr-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#upz-root .hdr-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

#upz-root .hdr-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    overflow: hidden;
}

#upz-root .hdr-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#upz-root .hdr-dist {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
}

#upz-root .hdr-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
}

#upz-root .hdr-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

#upz-root .hdr-time {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: right;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

#upz-root .hdr-time span {
    display: block;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

#upz-root .hdr-lang {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

#upz-root .hdr-lang:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Search */
#upz-root .hdr-search {
    margin-top: 8px;
    position: relative;
}

#upz-root .hdr-search input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border-radius: 10px;
    border: none;
    background: #fff;
    color: #333;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}

#upz-root .hdr-search input::placeholder {
    color: #aaa;
}

#upz-root .hdr-search .si {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    opacity: 0.4;
    pointer-events: none;
}

#upz-root .sr-box {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-height: 260px;
    overflow-y: auto;
    z-index: 600;
    display: none;
}

#upz-root .sr-box.show {
    display: block;
}

#upz-root .sr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

#upz-root .sr-item:last-child {
    border-bottom: none;
}

#upz-root .sr-item:hover {
    background: #f8f9fa;
}

#upz-root .sr-item img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

#upz-root .sr-name {
    font-size: 13px;
    font-weight: 600;
}

#upz-root .sr-sub {
    font-size: 11px;
    color: #888;
}

/* ═══ BODY ═══ */
#upz-root .body {
    padding-bottom: 68px;
}

/* ═══ HOME HERO CARD ═══ */
#upz-root .home-hero {
    margin: 10px 14px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    border-radius: 14px;
    padding: 18px 16px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(22, 163, 74, 0.3);
}

#upz-root .hero-text {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 12px;
}

#upz-root .hero-btns {
    display: flex;
    gap: 8px;
}

#upz-root .hero-btn {
    flex: 1;
    padding: 9px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: transform 0.2s, opacity 0.2s;
    border: none;
}

#upz-root .hero-btn:active {
    transform: scale(0.96);
}

#upz-root .hero-btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

#upz-root .hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.35);
}

#upz-root .hero-btn-fill {
    background: #fff;
    color: #16a34a;
}

#upz-root .hero-btn-fill:hover {
    opacity: 0.9;
}

/* ═══ QUICK ACTION PILLS ═══ */
#upz-root .qa-row {
    display: flex;
    gap: 8px;
    padding: 8px 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    scroll-snap-type: x proximity;
    user-select: none;
}

#upz-root .qa-row::-webkit-scrollbar {
    display: none;
}

#upz-root .qa-pill {
    flex-shrink: 0;
    padding: 7px 14px;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    color: #333;
    scroll-snap-align: start;
}

#upz-root .qa-pill:hover {
    background: #e8f5e9;
    border-color: #16a34a;
    color: #16a34a;
}

#upz-root .qa-pill:active {
    transform: scale(0.95);
}

/* ═══ SEE MORE BUTTON ═══ */
#upz-root .see-more-btn {
    display: block;
    width: calc(100% - 28px);
    margin: 0 14px 14px;
    padding: 12px;
    border: 2px dashed #86efac;
    border-radius: 12px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    text-align: center;
    transition: background 0.2s, border-color 0.2s;
}

#upz-root .see-more-btn:hover {
    background: #dcfce7;
    border-color: #4ade80;
}

/* ═══ SECTION HEADING ═══ */
#upz-root .sec-title {
    font-size: 15px;
    font-weight: 700;
    color: #222;
    padding: 14px 14px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#upz-root .sec-title .more {
    font-size: 12px;
    color: #1a8e3e;
    font-weight: 600;
    cursor: pointer;
}

/* ═══ CATEGORY GRID ═══ */
#upz-root .cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 8px 14px;
}

#upz-root .cat-item {
    background: #fff;
    border-radius: 12px;
    padding: 12px 4px 10px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

#upz-root .cat-item:active {
    transform: scale(0.95);
}

#upz-root .cat-item:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

#upz-root .cat-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

#upz-root .cat-label {
    font-size: 11px;
    font-weight: 600;
    color: #333;
    line-height: 1.25;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-break: keep-all;
}

/* ═══ HORIZONTAL CATEGORY ITEM (For Services) ═══ */
#upz-root .cat-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 14px 20px;
}

#upz-root .cat-grid-list.single-col {
    grid-template-columns: 1fr;
}

#upz-root .cat-item-hz {
    background: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 1.5px solid #2e7d32;
    transition: transform 0.2s, box-shadow 0.2s;
}

#upz-root .cat-item-hz:active {
    transform: scale(0.97);
}

#upz-root .cat-item-hz .cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

#upz-root .cat-item-hz .cat-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    flex: 1;
    text-align: left;
    display: block;
    min-height: auto;
}

/* icon colors */
#upz-root .ci-red {
    background: #fde8e8;
}

#upz-root .ci-blue {
    background: #e3eeff;
}

#upz-root .ci-indigo {
    background: #eae3ff;
}

#upz-root .ci-teal {
    background: #e0f7f0;
}

#upz-root .ci-orange {
    background: #fff0e0;
}

#upz-root .ci-purple {
    background: #f3e8ff;
}

#upz-root .ci-green {
    background: #e3f9ec;
}

#upz-root .ci-amber {
    background: #fef5d7;
}

#upz-root .ci-cyan {
    background: #dff6fb;
}

#upz-root .ci-rose {
    background: #ffe5ea;
}

#upz-root .ci-sky {
    background: #e0f3ff;
}

#upz-root .ci-lime {
    background: #efffd6;
}

/* ═══ BANNER AD ═══ */
#upz-root .banner {
    margin: 10px 14px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border: 1px solid #c8e6c9;
    cursor: pointer;
}

#upz-root .banner img {
    width: 100%;
    display: block;
}

#upz-root .banner-ph {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    gap: 2px;
}

#upz-root .banner-ph .bp-i {
    font-size: 26px;
    opacity: 0.5;
}

#upz-root .banner-ph .bp-t {
    font-size: 12px;
    font-weight: 600;
    color: #2e7d32;
    opacity: 0.7;
    text-align: center;
    line-height: 1.4;
}

/* ═══ NEWS CARDS (auto-slide) ═══ */
#upz-root .news-wrap {
    overflow: hidden;
    position: relative;
    padding: 4px 0 6px;
}

#upz-root .news-row {
    display: flex;
    gap: 10px;
    padding: 0 14px;
    animation: newsSlide 20s linear infinite;
    width: max-content;
}

#upz-root .news-wrap:hover .news-row,
#upz-root .news-wrap:active .news-row {
    animation-play-state: paused;
}

@keyframes newsSlide {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#upz-root .news-row::-webkit-scrollbar {
    display: none;
}

#upz-root .news-card {
    flex-shrink: 0;
    width: 200px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

#upz-root .news-card:active {
    transform: scale(0.97);
}

#upz-root .notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px 14px;
}

#upz-root .news-card.grid-mode {
    width: auto;
    flex: 1;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

#upz-root .news-card.grid-mode .news-img,
#upz-root .news-card.grid-mode .news-thumb {
    height: 80px;
    font-size: 24px;
}

#upz-root .news-card.grid-mode .news-ttl {
    font-size: 11px;
    line-height: 1.3;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#upz-root .news-card.grid-mode .news-body {
    padding: 8px;
}

#upz-root .news-card.grid-mode .news-badge {
    font-size: 8px;
    padding: 2px 5px;
}

#upz-root .news-thumb {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
}

#upz-root .nt-health {
    background: linear-gradient(135deg, #fde8e8, #fcc);
    color: #c62828;
}

#upz-root .nt-service {
    background: linear-gradient(135deg, #e0f3ff, #bde);
    color: #1565c0;
}

#upz-root .nt-notice {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    color: #e65100;
}

#upz-root .nt-general {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #2e7d32;
}

#upz-root .news-card img.news-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

#upz-root .news-body {
    padding: 8px 10px 10px;
}

#upz-root .news-badge {
    font-size: 9px;
    font-weight: 700;
    color: #1a8e3e;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#upz-root .news-ttl {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    line-height: 1.35;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══ HOME GALLERY ═══ */
#upz-root .home-gallery {
    margin: 10px 14px 15px;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 0;
    scrollbar-width: none;
    scroll-behavior: smooth;
    box-sizing: border-box;
    border-radius: 15px;
    backface-visibility: hidden;
    transform: translateZ(0);
}

#upz-root .home-gallery::-webkit-scrollbar {
    display: none;
}

#upz-root .hg-item {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: center;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}

#upz-root .hg-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#upz-root .hg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 60%);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#upz-root .hg-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#upz-root .hg-title {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

#upz-root .hg-view {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
    font-weight: 500;
}

/* ═══ EMERGENCY ═══ */
#upz-root .em-bar {
    margin: 10px 14px;
    background: linear-gradient(135deg, #b71c1c, #e53935);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 3px 14px rgba(229, 57, 53, 0.3);
}

#upz-root .em-bar h4 {
    font-size: 17px;
    font-weight: 700;
}

#upz-root .em-bar p {
    font-size: 11px;
    opacity: 0.85;
    margin-top: 1px;
}

#upz-root .em-call {
    background: #fff;
    color: #e53935;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* ═══ BACK HEADER ═══ */
#upz-root .pg-hdr {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
}

#upz-root .btn-back {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #1a8e3e;
    font-family: inherit;
}

#upz-root .btn-back:hover {
    background: #1a8e3e;
    color: #fff;
    border-color: #1a8e3e;
}

#upz-root .pg-hdr h2 {
    font-size: 16px;
    font-weight: 700;
}

/* ═══ SUB-CATEGORY HERO BANNER ═══ */
#upz-root .sub-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    color: #fff;
    border-radius: 0 0 18px 18px;
    margin-bottom: 8px;
}

#upz-root .sub-hero .sub-back {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

#upz-root .sub-hero .sub-back:hover {
    background: rgba(255, 255, 255, 0.35);
}

#upz-root .sub-hero-icon {
    font-size: 26px;
    flex-shrink: 0;
}

#upz-root .sub-hero-title {
    font-size: 17px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ═══ SUB-CATEGORY CARD GRID ═══ */
#upz-root .sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 6px 14px 14px;
}

#upz-root .sub-grid .cat-item {
    padding: 14px 6px 10px;
}

#upz-root .sub-cnt {
    font-size: 10px;
    color: #999;
    margin-top: 2px;
    font-weight: 500;
}

/* ═══ LIST ═════ */
#upz-root .svc-list {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#upz-root .svc-row {
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: 1px solid #eee;
    transition: transform 0.2s;
}

#upz-root .svc-row:active {
    transform: translateX(3px);
}

#upz-root .svc-row .sr-iw {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

#upz-root .svc-row .sr-n {
    font-size: 14px;
    font-weight: 600;
}

#upz-root .svc-row .sr-c {
    font-size: 11px;
    color: #888;
}

#upz-root .svc-row .sr-a {
    margin-left: auto;
    font-size: 16px;
    color: #bbb;
}

#upz-root .list {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#upz-root .li-item {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: 1px solid #eee;
    border-left: 4px solid #1a8e3e;
    transition: transform 0.2s;
}

#upz-root .li-item:active {
    transform: translateX(3px);
}

#upz-root .li-name {
    font-size: 14px;
    font-weight: 600;
}

#upz-root .li-sub {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
}

#upz-root .li-arr {
    font-size: 16px;
    color: #bbb;
}

/* ═══ PROFILE CARDS ═══ */
#upz-root .cards {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#upz-root .pcard {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    display: flex;
    gap: 12px;
    border: 1px solid #eee;
    border-left: 4px solid #1a8e3e;
}

#upz-root .pcard img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8f5e9;
    flex-shrink: 0;
}

#upz-root .pc-nm {
    font-size: 14px;
    font-weight: 700;
}

#upz-root .pc-dg {
    font-size: 12px;
    color: #666;
    margin-top: 1px;
}

#upz-root .pc-bl {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 7px;
    background: #fde8e8;
    color: #c62828;
    font-size: 10px;
    font-weight: 700;
    border-radius: 12px;
}

#upz-root .pc-ad {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

#upz-root .pc-btns {
    display: flex;
    gap: 5px;
    margin-top: 6px;
    flex-wrap: wrap;
}

#upz-root .pc-btns a,
#upz-root .pc-btns button {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-family: inherit;
    border: none;
    transition: background 0.2s;
}

#upz-root .b-call {
    background: #e3f9ec;
    color: #15803d;
}

#upz-root .b-wa {
    background: #d4f5e0;
    color: #059669;
}

#upz-root .b-info {
    background: #e8f5e9;
    color: #1a8e3e;
}

#upz-root .b-call:hover {
    background: #15803d;
    color: #fff;
}

#upz-root .b-wa:hover {
    background: #059669;
    color: #fff;
}

#upz-root .b-info:hover {
    background: #1a8e3e;
    color: #fff;
}

/* ═══ PROFILE DETAIL ═══ */
#upz-root .sp-hero {
    background: linear-gradient(180deg, #1a8e3e 0%, #22a948 100%);
    border-radius: 0 0 24px 24px;
    padding: 16px 20px 24px;
    text-align: center;
    color: #fff;
    position: relative;
}

#upz-root .sp-hero img {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

#upz-root .sp-nm {
    font-size: 19px;
    font-weight: 700;
}

#upz-root .sp-dg {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 2px;
}

#upz-root .sp-badges {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
}

#upz-root .sp-badge {
    background: rgba(255, 255, 255, 0.18);
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: 600;
}

#upz-root .sp-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin: 10px 14px 0;
    border: 1px solid #eee;
}

#upz-root .sp-card h3 {
    font-size: 13px;
    font-weight: 700;
    color: #1a8e3e;
    margin-bottom: 6px;
}

#upz-root .sp-card p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

#upz-root .ct-grid {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#upz-root .ct-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
}

#upz-root .ct-call {
    background: #e3f9ec;
    color: #15803d;
}

#upz-root .ct-wa {
    background: #d4f5e0;
    color: #059669;
}

#upz-root .ct-fb {
    background: #e3eeff;
    color: #1565c0;
}

#upz-root .ct-mail {
    background: #fff8e1;
    color: #f57f17;
}

/* ═══ BLOOD / FILTER ═══ */
#upz-root .filter-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    padding: 0 14px;
    margin-bottom: 10px;
}

#upz-root .filter-chip {
    padding: 6px 12px;
    border-radius: 18px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #eee;
    background: #fff;
    color: #333;
    font-family: inherit;
}

#upz-root .filter-chip.act {
    background: #1a8e3e;
    color: #fff;
    border-color: #1a8e3e;
}

#upz-root .bl-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 14px 6px;
    border: 1px solid #eee;
    border-left: 4px solid #e53935;
}

#upz-root .bl-grp {
    background: linear-gradient(135deg, #e53935, #ef5350);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

#upz-root .bl-nm {
    font-size: 13px;
    font-weight: 600;
}

#upz-root .bl-ph {
    font-size: 12px;
    color: #666;
}

/* ═══ NOTICE / BIZ / JOB ═══ */
#upz-root .nd-box {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    margin: 0 14px;
    border: 1px solid #eee;
}

#upz-root .nd-box .nd-b {
    font-size: 11px;
    font-weight: 700;
    color: #1a8e3e;
    text-transform: uppercase;
    margin-bottom: 4px;
}

#upz-root .nd-box h2 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
}

#upz-root .nd-box p {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
}

#upz-root .biz-card,
#upz-root .job-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin: 0 14px 8px;
    border: 1px solid #eee;
}

#upz-root .biz-card .bc-n,
#upz-root .job-card .jc-t {
    font-size: 14px;
    font-weight: 700;
}

#upz-root .biz-card .bc-o {
    font-size: 12px;
    color: #666;
    margin-top: 1px;
}

#upz-root .biz-card .bc-r {
    display: inline-block;
    margin-top: 3px;
    padding: 1px 8px;
    background: #fff8e1;
    color: #f57f17;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
}

#upz-root .biz-card .bc-a {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

#upz-root .job-card .jc-c {
    font-size: 12px;
    color: #666;
    margin-top: 1px;
}

#upz-root .job-card .jc-s {
    font-size: 13px;
    color: #059669;
    font-weight: 700;
    margin-top: 3px;
}

#upz-root .job-card .jc-d {
    font-size: 11px;
    color: #e53935;
    margin-top: 2px;
}

/* ═══ INFO ═══ */
#upz-root .info-hero {
    background: linear-gradient(180deg, #1a8e3e, #22a948);
    border-radius: 0 0 24px 24px;
    padding: 24px 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
}

#upz-root .info-hero h2 {
    font-size: 20px;
    font-weight: 700;
}

#upz-root .info-hero p {
    font-size: 12px;
    opacity: 0.8;
    margin-top: 3px;
}

#upz-root .info-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0 14px;
}

#upz-root .info-st {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid #eee;
}

#upz-root .info-st .si {
    font-size: 22px;
}

#upz-root .info-st .sv {
    font-size: 22px;
    font-weight: 800;
    color: #1a8e3e;
    margin-top: 3px;
}

#upz-root .info-st .sl {
    font-size: 11px;
    color: #888;
    margin-top: 1px;
}

#upz-root .em-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px;
    margin: 0 14px 8px;
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
}

#upz-root .em-btn.r {
    background: linear-gradient(135deg, #b71c1c, #e53935);
}

#upz-root .em-btn.o {
    background: linear-gradient(135deg, #e65100, #ff9800);
}

/* ═══ SUBMIT FORM ═══ */
#upz-root .sf-box {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    margin: 0 14px;
    border: 1px solid #eee;
}

#upz-root .sf-box label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin: 12px 0 4px;
}

#upz-root .sf-box label:first-child {
    margin-top: 0;
}

#upz-root .sf-box input,
#upz-root .sf-box select,
#upz-root .sf-box textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: inherit;
    background: #fafafa;
    outline: none;
}

#upz-root .sf-box input:focus,
#upz-root .sf-box select:focus,
#upz-root .sf-box textarea:focus {
    border-color: #1a8e3e;
    background: #fff;
}

#upz-root .sf-box textarea {
    resize: vertical;
    min-height: 80px;
}

#upz-root .sf-btn {
    margin-top: 14px;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, #1a8e3e, #22a948);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ═══ EMPTY ═══ */
#upz-root .empty {
    text-align: center;
    padding: 36px 20px;
    color: #aaa;
}

#upz-root .empty .ei {
    font-size: 44px;
    margin-bottom: 8px;
    display: block;
}

#upz-root .empty p {
    font-size: 13px;
}

/* ═══ TOAST ═══ */
#upz-root .toast {
    position: fixed;
    bottom: 72px;
    left: 50%;
    transform: translateX(-50%);
    background: #222;
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: tIn 0.3s ease, tOut 0.3s ease 2.7s forwards;
    white-space: nowrap;
}

/* ═══ BOTTOM NAV ═══ */
#upz-root .nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 70px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
    box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.1);
    border-radius: 25px 25px 0 0;
    padding: 0;
}

#upz-root .nav-i {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    flex: 1;
    padding: 8px 0;
    position: relative;
    color: #9e9e9e;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

#upz-root .nav-i .n-ic {
    font-size: 18px;
    line-height: 1;
}

#upz-root .nav-i .n-lb {
    font-size: 11px;
    font-weight: 500;
}

#upz-root .nav-i.act {
    color: #2e7d32;
}

#upz-root .nav-i.act::before {
    display: none;
}

/* Special Floating Plus Button */
#upz-root .nav-add-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

#upz-root .nav-c {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    position: absolute;
    top: -40px;
    cursor: pointer;
    border: 5px solid #f8f9fa;
    box-shadow: 0 4px 10px rgba(46, 125, 50, 0.3);
    transition: transform 0.2s ease;
}

#upz-root .nav-c:active {
    transform: scale(0.9);
}

#upz-root .nav-c:hover {
    transform: scale(1.05);
}

#upz-root .nav-c-label {
    margin-top: 22px;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
}

/* ═══ SPINNER ═══ */
#upz-root .loading {
    text-align: center;
    padding: 40px 20px;
}

#upz-root .spin {
    display: inline-block;
    width: 28px;
    height: 28px;
    border: 3px solid #eee;
    border-top-color: #1a8e3e;
    border-radius: 50%;
    animation: spin .7s linear infinite;
}

#upz-root .loading p {
    font-size: 12px;
    color: #aaa;
    margin-top: 8px;
}

/* ═══ ANIM ═══ */
@keyframes tIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes tOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#upz-root .fadein {
    animation: cIn .25s ease;
}

@keyframes cIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════
   AUTH PAGES — New Design
═══════════════════════════════════════════════════ */
#upz-root .auth-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 25px 40px;
    box-sizing: border-box;
    background-color: #ffffff;
    min-height: 100vh;
}

#upz-root .brand-header {
    text-align: center;
    margin-bottom: 35px;
}

#upz-root .brand-header img {
    width: 75px;
}

#upz-root .brand-header h2 {
    color: #22a75d;
    margin: 15px 0 5px 0;
    font-size: 26px;
    font-weight: 700;
}

#upz-root .page-title {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

#upz-root .auth-form {
    display: none;
    animation: authSlideIn 0.3s ease-out;
}

#upz-root .auth-form.active {
    display: block;
}

@keyframes authSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#upz-root .input-group {
    position: relative;
    margin-bottom: 18px;
}

#upz-root .input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #22a75d;
    font-size: 16px;
}

#upz-root .input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1.5px solid #eee;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
    background: #f9f9f9;
    outline: none;
    font-family: inherit;
    color: #333;
    transition: border-color 0.2s, background 0.2s;
}

#upz-root .input-group input:focus {
    border-color: #22a75d;
    background: #fff;
}

#upz-root .main-btn {
    width: 100%;
    padding: 16px;
    background: #22a75d;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(34, 167, 93, 0.2);
    font-family: inherit;
    transition: opacity 0.2s, transform 0.15s;
    display: block;
    text-align: center;
}

#upz-root .main-btn:hover {
    opacity: 0.95;
}

#upz-root .main-btn:active {
    transform: scale(0.98);
}

#upz-root .main-btn:disabled {
    opacity: 0.6;
    transform: none;
    cursor: default;
}

#upz-root .helper-links {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #777;
}

#upz-root .helper-links span {
    color: #22a75d;
    font-weight: bold;
    cursor: pointer;
}

#upz-root .helper-links span:hover {
    text-decoration: underline;
}

#upz-root .forgot-pass {
    display: block;
    text-align: right;
    color: #d32f2f;
    font-size: 13px;
    margin-top: -10px;
    margin-bottom: 20px;
    cursor: pointer;
}

#upz-root .forgot-pass:hover {
    text-decoration: underline;
}

#upz-root .success-alert {
    display: none;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════════
   USER DASHBOARD
═══════════════════════════════════════════════════ */
#upz-root .dash-hero {
    background: linear-gradient(150deg, #166534 0%, #16a34a 50%, #22c55e 100%);
    padding: 40px 20px 28px;
    text-align: center;
    color: #fff;
    position: relative;
}

#upz-root .dash-hero .dash-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3.5px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#upz-root .dash-hero .dash-name {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 3px;
}

#upz-root .dash-hero .dash-phone {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 8px;
}

#upz-root .dash-hero .dash-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

#upz-root .dash-hero .dash-logout {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

#upz-root .dash-hero .dash-logout:hover {
    background: rgba(255, 255, 255, 0.26);
}

/* Dashboard Tabs */
#upz-root .dash-tab-bar {
    display: flex;
    background: #fff;
    border-bottom: 1.5px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 10;
}

#upz-root .dash-tab-btn {
    flex: 1;
    text-align: center;
    padding: 14px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
}

#upz-root .dash-tab-btn.act {
    color: #16a34a;
    border-bottom-color: #16a34a;
}

/* Dashboard Tab Content */
#upz-root .dash-tab-pane {
    padding: 16px;
}

#upz-root .dash-tab-pane.hidden {
    display: none;
}

/* Submission Cards */
#upz-root .sub-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 12px;
    overflow: hidden;
    display: flex;
}

#upz-root .sub-card .sub-strip {
    width: 5px;
    flex-shrink: 0;
}

#upz-root .sub-card.green .sub-strip {
    background: #16a34a;
}

#upz-root .sub-card.amber .sub-strip {
    background: #f59e0b;
}

#upz-root .sub-card.blue .sub-strip {
    background: #2563eb;
}

#upz-root .sub-card.purple .sub-strip {
    background: #7c3aed;
}

#upz-root .sub-card .sub-body {
    flex: 1;
    padding: 12px 14px;
}

#upz-root .sub-card .sub-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 7px;
}

#upz-root .sub-card .sub-cat {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 4px;
}

#upz-root .sub-card .sub-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

#upz-root .sub-card .sub-status.approved {
    background: #dcfce7;
    color: #16a34a;
}

#upz-root .sub-card .sub-status.pending {
    background: #fef3c7;
    color: #d97706;
}

#upz-root .sub-card .sub-preview {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 10px;
}

#upz-root .sub-card .sub-edit-btn {
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

#upz-root .sub-card .sub-edit-btn:hover {
    background: #e2e8f0;
}

/* Add data button */
#upz-root .add-data-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 2px dashed #86efac;
    border-radius: 14px;
    background: #f0fdf4;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    margin-top: 4px;
    transition: background 0.2s, border-color 0.2s;
}

#upz-root .add-data-btn:hover {
    background: #dcfce7;
    border-color: #4ade80;
}

/* Profile form inside dashboard */
#upz-root .profile-form-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

#upz-root .profile-form-card .pf-field {
    margin-bottom: 14px;
}

#upz-root .profile-form-card .pf-field label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 5px;
}

#upz-root .profile-form-card .pf-field input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    background: #f8fafc;
    outline: none;
    box-sizing: border-box;
    color: #1e293b;
    transition: border-color 0.2s;
}

#upz-root .profile-form-card .pf-field input:focus {
    border-color: #16a34a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.10);
}

#upz-root .profile-form-card .pf-field input:disabled {
    background: #f1f5f9;
    opacity: 0.7;
    cursor: not-allowed;
}

#upz-root .profile-save-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #166534, #16a34a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    margin-top: 6px;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    transition: opacity 0.2s;
}

#upz-root .profile-save-btn:hover {
    opacity: 0.92;
}

/* Loading shimmer for submissions */
#upz-root .subs-loading {
    text-align: center;
    padding: 30px 0;
    color: #94a3b8;
    font-size: 13px;
}

/* ═══════════════════════════════════════════════════
   PASSWORD STRENGTH
═══════════════════════════════════════════════════ */
#upz-root .pass-strength-wrap {
    height: 5px;
    background: #e5e7eb;
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

#upz-root .pass-strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 10px;
    transition: width 0.35s ease, background 0.3s;
}

#upz-root .pass-tips {
    margin-top: 8px;
    font-size: 11.5px;
}

#upz-root .pass-label {
    font-weight: 700;
    margin-bottom: 4px;
}

#upz-root .pass-tip-list {
    margin: 0;
    padding-left: 18px;
    color: #64748b;
    line-height: 1.7;
}

#upz-root .pass-tip-list li {
    font-size: 11px;
}

/* ═══════════════════════════════════════════════════
   AUTH MESSAGES (success / error)
═══════════════════════════════════════════════════ */
#upz-root .msg-success {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #16a34a;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

#upz-root .msg-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #dc2626;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 14px;
}

/* ═══════════════════════════════════════════════════
   NOTICE EDITOR (Classic Editor Style)
═══════════════════════════════════════════════════ */
#upz-root .editor-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

#upz-root .ed-row {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
}

#upz-root .ed-row:last-child {
    border-bottom: none;
}

#upz-root .ed-divider {
    height: 6px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

#upz-root .ed-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

#upz-root .ed-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    font-family: inherit;
    color: #1e293b;
    background: transparent;
    box-sizing: border-box;
    padding: 0;
}

#upz-root select.ed-input {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
    -webkit-appearance: auto;
    appearance: auto;
}

#upz-root .ed-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

#upz-root input[type="date"].ed-input {
    background: #f8fafc;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 12px;
}

/* ═══════════════════════════════════════════════════
   COMPLAIN PAGE
═══════════════════════════════════════════════════ */
#upz-root .comp-wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #fdfdfd;
}

#upz-root .comp-warn {
    background: #fefce8;
    color: #854d0e;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    border-bottom: 1px solid #fef08a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#upz-root .comp-form-area {
    padding: 24px 20px;
}

#upz-root .comp-field {
    margin-bottom: 18px;
}

#upz-root .comp-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

#upz-root .comp-field input,
#upz-root .comp-field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    font-family: inherit;
    background: #f9fafb;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    color: #111;
}

#upz-root .comp-field input:focus,
#upz-root .comp-field textarea:focus {
    border-color: #2e7d32;
    background: #fff;
}

#upz-root .comp-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.2s;
}

#upz-root .comp-upload:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

#upz-root .comp-upload i {
    font-size: 24px;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

#upz-root .comp-submit {
    width: 100%;
    padding: 16px;
    background: #2e7d32;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
    transition: transform 0.15s, opacity 0.2s;
}

#upz-root .comp-submit:active {
    transform: scale(0.98);
}

#upz-root .comp-success {
    display: none;
    background: #f0fdf4;
    color: #166534;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #bbf7d0;
    text-align: center;
    margin-top: 20px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
}

/* ═══ GALLERY SINGLE PAGE ═══ */
#upz-root .gs-wrap {
    min-height: 100vh;
    background: #f8fafc;
}

#upz-root .gs-hero {
    position: relative;
    width: 100%;
    height: 300px;
}

#upz-root .gs-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#upz-root .gs-back {
    position: absolute;
    top: 20px;
    left: 14px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
}

#upz-root .gs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #f8fafc 5%, rgba(0, 0, 0, 0) 60%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

#upz-root .gs-badge {
    background: #16a34a;
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 8px;
}

#upz-root .gs-title {
    font-size: 24px;
    font-weight: 900;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

#upz-root .gs-body {
    padding: 0 20px 40px;
    margin-top: -10px;
}

#upz-root .gs-card {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

#upz-root .gs-sec-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

#upz-root .gs-text {
    font-size: 16px;
    line-height: 1.7;
    color: #334155;
    margin: 0;
    white-space: pre-line;
}