/* ==========================================
   AssignPro Pakistan - Online Hand Writing Work
   Ultra-Modern Responsive & Ambient Light Theme
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Nastaliq+Urdu:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-secondary: #f1f5f9;
    
    --primary-color: #0d9488;
    --primary-hover: #0f766e;
    --primary-gradient: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);

    --accent-color: #eab308;
    --accent-gradient: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);

    --text-dark: #0f172a;
    --text-muted: #475569;
    --text-light: #64748b;

    --border-color: rgba(226, 232, 240, 0.8);
    --border-hover: rgba(13, 148, 136, 0.4);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 12px 30px -5px rgba(13, 148, 136, 0.12);
    --shadow-glow: 0 0 25px rgba(13, 148, 136, 0.2);

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.hero-img-card,
.hero-img-col,
.hero-grid-wrapper,
.empowerment-grid,
.steps-grid,
.packages-grid,
.testimonials-grid,
.faq-accordion {
    min-width: 0;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', 'Noto Nastaliq Urdu', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    direction: rtl; /* Right to Left for Urdu */
    text-align: right;
    line-height: 1.95;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    
    /* Modern Ambient Light Background Design */
    background-image: 
        radial-gradient(at 0% 0%, rgba(13, 148, 136, 0.09) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(2, 132, 199, 0.08) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(234, 179, 8, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(13, 148, 136, 0.09) 0px, transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #f0fdf4 50%, #f8fafc 100%);
    background-attachment: fixed;
}

/* Urdu Typography & BiDi Fixes */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.95;
    letter-spacing: normal;
}

.en-num, .payout-tag, .salary-amount, .acc-num, .tracking-pill, [dir="ltr"] {
    direction: ltr !important;
    display: inline-block !important;
    unicode-bidi: isolate !important;
}

bdi {
    unicode-bidi: isolate !important;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.25rem;
    width: 100%;
}

/* Withdrawal Running Ticker Bar (Patti) */
.withdrawal-ticker-bar {
    background: linear-gradient(90deg, #0d9488 0%, #0284c7 100%);
    color: #ffffff;
    overflow: hidden;
    white-space: nowrap;
    padding: 0.55rem 0;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    direction: ltr; /* Keeps continuous translation coordinates strictly uniform */
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: marquee-slow 115s linear infinite;
    will-change: transform;
}

.ticker-content {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 3rem;
    direction: rtl; /* Individual item Urdu renders correctly RTL */
}

.ticker-item i {
    color: #fef08a;
    font-size: 0.95rem;
}

/* Pause ticker when user touches or hovers */
.withdrawal-ticker-bar:hover .ticker-track,
.withdrawal-ticker-bar:active .ticker-track {
    animation-play-state: paused;
}

@keyframes marquee-slow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header Navbar */
.app-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-badge {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-glow);
    flex-shrink: 0;
}

.brand-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.72rem;
    color: var(--primary-color);
    font-weight: 700;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25d366;
    color: #ffffff;
    padding: 0.5rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    white-space: nowrap;
}

.support-btn:hover {
    transform: translateY(-2px);
    background: #1eb956;
}

/* Hero Section */
.hero-banner {
    padding: 3rem 0;
    position: relative;
}

.hero-grid-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2.5rem;
    align-items: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(13, 148, 136, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(13, 148, 136, 0.25);
    box-shadow: var(--shadow-sm);
}

.hero-pill i {
    color: var(--accent-color);
}

.hero-title {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 2.2;
}

.hero-title span {
    color: var(--primary-color);
    background: linear-gradient(135deg, #0d9488, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.urdu-shairi-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 2px dashed rgba(13, 148, 136, 0.3);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin-top: 1.25rem;
    box-shadow: var(--shadow-md);
}

.urdu-shairi-box p {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 1.15rem;
    color: #0f172a;
    line-height: 2.2;
    font-weight: 600;
}

.hero-img-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #ffffff;
    background: #ffffff;
    transition: var(--transition);
}

.hero-img-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.hero-main-img {
    width: 100%;
    max-height: 380px;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.img-caption-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.target-audience-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.aud-tag {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.45rem 1.1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(4px);
}

.aud-tag i {
    color: var(--primary-color);
    margin-left: 0.4rem;
}

/* Packages Section */
.section {
    padding: 3.5rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-head p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.package-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.package-card.highlight {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    background: #ffffff;
}

.pop-badge {
    position: absolute;
    top: -14px;
    right: 50%;
    transform: translateX(50%);
    background: var(--accent-gradient);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
}

.package-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.daily-salary-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.salary-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #15803d;
    line-height: 1.1;
}

.salary-label {
    font-size: 0.75rem;
    color: #166534;
    font-weight: 700;
    margin-top: 2px;
}

.package-features {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.package-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.package-features li i {
    color: #10b981;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* Forms & Inputs */
.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.req {
    color: #ef4444;
}

input[type="text"], input[type="number"], input[type="tel"], select, textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    direction: rtl;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* Payment Page Details */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.method-card {
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.method-card.active {
    border-color: var(--primary-color);
    background: #f0fdf4;
}

.payment-logo {
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 0.75rem;
}

.account-details-box {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-top: 0.5rem;
}

.acc-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-color);
    direction: ltr;
    display: inline-block;
    letter-spacing: 1px;
}

.copy-btn {
    background: #e2e8f0;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    margin-right: 6px;
}

/* Status Page */
.status-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
}

.status-icon {
    width: 80px;
    height: 80px;
    background: #fef3c7;
    color: #d97706;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.2);
}

.status-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.status-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.timer-badge {
    display: inline-block;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Live Withdrawal Floating Toast Popup (Mobile-Perfect & Urdu-Friendly) */
.withdrawal-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #ffffff;
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    border-right: 5px solid #10b981;
    border-radius: 16px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 4px 14px rgba(16, 185, 129, 0.12);
    z-index: 9999;
    transform: translateY(180%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    max-width: 400px;
    width: auto;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.withdrawal-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-badge-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.2);
}

.toast-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.toast-user-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    line-height: 1.8;
}

.toast-user-name {
    font-weight: 800;
    font-size: 0.9rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.toast-time-tag {
    font-size: 0.72rem;
    color: #059669;
    background: #ecfdf5;
    padding: 1px 7px;
    border-radius: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.toast-payout-line {
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.95;
    direction: rtl;
    margin-top: 5px;
    padding-top: 2px;
}

.toast-amount {
    font-weight: 800;
    color: #15803d;
    direction: ltr;
    display: inline-block;
    background: #f0fdf4;
    padding: 1px 5px;
    border-radius: 5px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
}

.toast-close-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.35rem;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.15s;
    align-self: flex-start;
}

.toast-close-btn:hover {
    color: #334155;
}

/* Footer */
.app-footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 3rem;
}

/* Mobile Responsiveness Breakdown (Phones <= 768px & Small Devices) */
@media (max-width: 900px) {
    .hero-grid-wrapper {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .header-container {
        padding: 0.75rem 1rem !important;
    }
    .brand-text h1 {
        font-size: 1rem !important;
    }
    .brand-text p {
        font-size: 0.65rem !important;
    }
    .hero-banner {
        padding: 1.5rem 0 !important;
    }
    .hero-title {
        font-size: 1.35rem !important;
        line-height: 2.15 !important;
        margin-bottom: 1.2rem !important;
    }
    .section-head {
        margin-bottom: 1.5rem !important;
    }
    .section-head h2 {
        font-size: 1.35rem !important;
        line-height: 2.1 !important;
        margin-bottom: 0.6rem !important;
    }
    .section-head p {
        font-size: 0.88rem !important;
        line-height: 1.95 !important;
    }
    .hero-img-col {
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-img-card {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px !important;
    }
    .hero-main-img {
        width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: cover !important;
    }
    .empowerment-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .urdu-shairi-box {
        padding: 1.25rem 1.1rem !important;
        margin-top: 1.25rem !important;
        line-height: 2.3 !important;
    }
    .urdu-shairi-box p {
        font-size: 1.02rem !important;
        line-height: 2.3 !important;
    }
    .target-audience-tags {
        gap: 0.5rem !important;
        margin-top: 1.5rem !important;
    }
    .aud-tag {
        font-size: 0.78rem !important;
        padding: 0.4rem 0.85rem !important;
        line-height: 1.8 !important;
    }
    .packages-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    .package-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1.75rem 1.25rem !important;
        box-sizing: border-box !important;
    }
    .package-num {
        line-height: 1.9 !important;
    }
    .package-features li {
        line-height: 1.85 !important;
        padding: 0.55rem 0 !important;
    }
    .salary-amount {
        font-size: 1.75rem !important;
    }
    .steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
    .step-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 2.25rem 1.25rem 1.5rem 1.25rem !important;
        min-height: auto !important;
    }
    .step-title {
        font-size: 1.15rem !important;
        line-height: 1.9 !important;
        margin-bottom: 0.4rem !important;
    }
    .step-desc {
        font-size: 0.9rem !important;
        line-height: 2.05 !important;
    }
    .testimonials-slider-wrapper {
        gap: 0.35rem !important;
        margin-top: 1rem !important;
    }
    .slider-arrow {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 0.85rem !important;
    }
    .testimonial-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 1.5rem 1.25rem !important;
        min-height: auto !important;
    }
    .testimonial-text {
        font-size: 0.95rem !important;
        line-height: 2.1 !important;
    }
    .withdrawal-toast {
        bottom: 12px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: unset !important;
        width: calc(100% - 20px) !important;
        padding: 0.65rem 0.85rem !important;
        gap: 0.65rem !important;
        border-radius: 14px !important;
    }
    .toast-badge-icon {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        font-size: 1.15rem !important;
    }
    .toast-user-name {
        font-size: 0.85rem !important;
    }
    .toast-payout-line {
        font-size: 0.78rem !important;
        line-height: 1.85 !important;
    }
    .worker-avatar {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 1rem !important;
    }
    .payout-tag {
        font-size: 0.72rem !important;
        padding: 3px 7px !important;
    }
    .form-card {
        padding: 1.5rem 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .payment-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .method-card {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 1rem 0.75rem !important;
    }
    .acc-num {
        font-size: 1.15rem !important;
        word-break: break-all !important;
    }
    .pkg-summary-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    .membership-slip-card {
        padding: 1.25rem 0.85rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .slip-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    .slip-header-area {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .admin-stats-grid .stat-card:nth-child(5) {
        grid-column: span 2 !important;
    }
}

/* ==========================================
   AssignPro Upgrade: Polished UI/UX Components
   ========================================== */

/* Button Hover Micro-interactions */
.btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.25s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}
.btn:active {
    transform: translateY(0);
}

/* Package Card Lift Effect */
.package-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.package-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(13, 148, 136, 0.18);
    border-color: var(--primary-color);
}

/* Form Polish & Validation */
.form-group {
    margin-bottom: 1.25rem;
    text-align: right;
}
.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.45rem;
    color: var(--text-dark);
}
.input-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.input-hint.error {
    color: #ef4444;
}
.input-hint.success {
    color: #16a34a;
}
input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15) !important;
}

/* Dynamic Live Package Summary Card */
.pkg-summary-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfeff 100%);
    border: 1.5px dashed #0d9488;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin: 1.25rem 0;
    animation: fadeIn 0.3s ease-out;
}
.pkg-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid rgba(13, 148, 136, 0.2);
    padding-bottom: 0.5rem;
}
.pkg-summary-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f766e;
}
.pkg-summary-badge {
    background: #0d9488;
    color: #fff;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}
.pkg-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    text-align: center;
}
.pkg-summary-item {
    background: #ffffff;
    padding: 0.75rem 0.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.pkg-summary-label {
    font-size: 0.74rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.pkg-summary-val {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--text-dark);
}

@media (max-width: 580px) {
    .pkg-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Payment Copy Button & Animated Alert */
.copy-btn {
    transition: all 0.2s ease;
    cursor: pointer;
}
.copy-btn.copied {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}
.floating-copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    direction: rtl;
}
.floating-copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Image Live Preview Component (Strictly Contained) */
.receipt-upload-zone {
    border: 2px dashed var(--primary-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 1rem;
    text-align: center;
    background: #f0fdfa;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.receipt-upload-zone:hover {
    border-color: var(--primary-hover);
    background: #e6fffa;
}
.receipt-preview-box {
    display: none;
    margin-top: 1rem;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.85rem;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}
.receipt-preview-img {
    display: block;
    max-width: 100%;
    max-height: 180px;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.receipt-meta {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}
.btn-remove-preview {
    background: #fee2e2;
    color: #ef4444;
    border: none;
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s ease;
}
.btn-remove-preview:hover {
    background: #fecaca;
}

/* Real Status Tracking UI */
.status-meta-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: right;
    box-shadow: var(--shadow-sm);
}
.status-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.92rem;
}
.status-meta-row:last-child {
    border-bottom: none;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
}
.status-badge.pending {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}
.status-badge.approved {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.status-badge.rejected {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.pulse-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Search Status Box */
.status-search-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border-color);
    text-align: center;
}
.search-input-group {
    display: flex;
    max-width: 420px;
    margin: 0.75rem auto 0 auto;
    gap: 0.5rem;
}
.search-input-group input {
    flex: 1;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
}

/* Admin Panel Styles */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}
.stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow-sm);
}
.stat-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.stat-info h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}
.stat-info .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
}

.admin-search-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.admin-search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    direction: rtl;
}

.btn-action-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.76rem;
    border-radius: 6px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease;
}
.btn-action-sm:hover {
    opacity: 0.9;
}
.btn-approve {
    background: #16a34a;
    color: #fff;
}
.btn-reject {
    background: #dc2626;
    color: #fff;
}
.btn-pending {
    background: #d97706;
    color: #fff;
}

/* Lightbox Modal for Receipts */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.lightbox-modal.active {
    display: flex;
}
.lightbox-content-box {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}
.lightbox-close-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================
   4-Step Work Guide Section
   ========================================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.step-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.25rem;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}
.step-number-badge {
    position: absolute;
    top: -16px;
    right: 50%;
    transform: translateX(50%);
    width: 34px;
    height: 34px;
    background: var(--primary-gradient);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.35);
}
.step-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}
.step-title {
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}
.step-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   Verified Workers Testimonials Slider & Carousel
   ========================================== */
.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
}

.testimonials-slider-wrapper {
    position: relative;
    max-width: 820px;
    margin: 1.5rem auto 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonials-carousel {
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    position: relative;
    touch-action: pan-y;
}

.testimonials-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
    will-change: transform;
}

.testimonial-slide {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
    padding: 0.25rem;
}

.testimonial-card {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    text-align: right;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    min-height: 230px;
    box-sizing: border-box;
}

.card-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 12px;
}

.stars-rating {
    color: #eab308;
    font-size: 0.95rem;
    display: flex;
    gap: 3px;
}

.testimonial-text {
    font-size: 0.98rem;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.worker-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 0.85rem;
    flex-wrap: wrap;
}

.worker-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488 0%, #0284c7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: var(--shadow-sm);
}

.worker-info {
    flex: 1;
    min-width: 120px;
}

.worker-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.worker-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.payout-tag {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.slider-arrow {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: scale(1.06);
}

.slider-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.slider-dots {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.slider-dot.active {
    width: 26px;
    border-radius: 12px;
    background: var(--primary-color);
}

.slider-counter {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
}

/* ==========================================
   Urdu FAQ Accordion Section
   ========================================== */
.faq-accordion {
    max-width: 800px;
    margin: 2rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}
.faq-question {
    padding: 1.1rem 1.25rem;
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    user-select: none;
    transition: background-color 0.2s ease;
}
.faq-question:hover {
    background: #f8fafc;
}
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--primary-color);
    color: #ffffff;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fbfcfe;
    border-top: 1px solid transparent;
}
.faq-item.active .faq-answer {
    border-top-color: #f1f5f9;
}
.faq-answer-inner {
    padding: 1.1rem 1.25rem;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ==========================================
   Printable Official Membership Slip
   ========================================== */
.membership-slip-card {
    background: #ffffff;
    border: 2px solid #0d9488;
    border-radius: var(--radius-md);
    padding: 2rem;
    margin: 1.5rem auto;
    max-width: 580px;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.12);
    position: relative;
    text-align: right;
    background-image: radial-gradient(circle at 100% 0%, rgba(13, 148, 136, 0.05) 0%, transparent 60%);
}
.slip-header-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed #cbd5e1;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}
.slip-brand h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f766e;
    margin: 0;
}
.slip-brand p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}
.slip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}
.slip-data-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}
.slip-data-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 2px;
}
.slip-data-val {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-dark);
}
.slip-footer-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}
.official-stamp {
    border: 2px solid #16a34a;
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    transform: rotate(-3deg);
    display: inline-block;
}

/* Print Specific Rules */
@media print {
    body * {
        visibility: hidden;
    }
    .membership-slip-card, .membership-slip-card * {
        visibility: visible;
    }
    .membership-slip-card {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        max-width: 100%;
        border: 2px solid #000;
        box-shadow: none;
    }
    .no-print {
        display: none !important;
    }
}

/* ==========================================
   Admin Panel Mobile Optimization & Polish
   ========================================== */
@media (max-width: 768px) {
    .admin-table {
        min-width: 720px;
    }
    .mobile-table-hint {
        display: block !important;
    }
    .admin-search-wrapper {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
    }
    .admin-search-wrapper .btn {
        width: 100% !important;
        text-align: center;
        justify-content: center;
    }
    .admin-search-toolbar {
        flex-direction: column !important;
    }
    .admin-search-toolbar input,
    .admin-search-toolbar select {
        width: 100% !important;
        min-width: unset !important;
    }
    .account-settings-grid {
        grid-template-columns: 1fr !important;
    }
    .stat-card {
        padding: 0.85rem !important;
        gap: 0.65rem !important;
    }
    .stat-icon-circle {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.15rem !important;
    }
    .stat-info h4 {
        font-size: 0.72rem !important;
    }
    .stat-info .stat-number {
        font-size: 1.3rem !important;
    }
    .analytics-metrics-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
    .analytics-metric-box {
        padding: 0.75rem !important;
    }
    .analytics-metric-box .metric-number {
        font-size: 1.35rem !important;
    }
    .analytics-details-grid {
        grid-template-columns: 1fr !important;
    }
    .lightbox-content-box {
        padding: 1rem !important;
        max-width: 95% !important;
    }
    .lightbox-img {
        max-height: 65vh !important;
    }
}


