body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9f9f9;
    margin: 0;
    padding: 0;
    color: #222;
}

.faq-container {
    max-width: 1300px;
    margin: 50px auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    background: linear-gradient(90deg, #008C85, #00A9A5);
    color: #fff;
    text-align: center;
    padding: 40px 20px;
}

.faq-header h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.faq-header p {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

/* Search bar section */
.faq-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.search-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 5px 10px;
}

.search-box i {
    color: #666;
    margin-right: 10px;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
}

.help-btn {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 15px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.help-btn:hover {
    background: #f3f3f3;
}

/* FAQ list */
.faq-section {
    padding: 20px;
    margin: 15px;
}

.faq-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.faq-item {
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 40px;
}

.faq-item:hover {
    background: #f2f8f8;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #222;
}

.faq-answer {
    display: none;
    font-size: 14px;
    color: #555;
    margin-top: 10px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --- Refer and Earn Specific Styles --- */
.refer-banner {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.refer-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.note-box {
    background: #f0f7f7;
    border-left: 4px solid #00796b;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.note-box strong {
    display: block;
    font-size: 18px;
    color: #00796b;
    margin-bottom: 12px;
}

.note-box ol {
    padding-left: 20px;
}

.note-box li {
    margin-bottom: 8px;
    color: #444;
}

.referral-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.referral-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.referral-input-group {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto 25px;
}

.referral-input-group input {
    flex: 1;
    padding: 12px 20px;
    border: 2px dashed #00796b;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #00796b;
    text-align: center;
    background: #f9f9f9;
}

.copy-button {
    background: #00796b;
    color: #fff;
    border: none;
    width: 50px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: #005f52;
    transform: translateY(-2px);
}

.share-action-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-action-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Share Popup */
.share-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.share-popup-box {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

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

.share-popup-box h4 {
    color: #333;
    font-size: 22px;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: scale(1.15) translateY(-5px);
    color: #fff;
}

.social-link.whatsapp:hover {
    background: #25D366;
}

.social-link.facebook:hover {
    background: #1877F2;
}

.social-link.twitter:hover {
    background: #1DA1F2;
}

.social-link.email:hover {
    background: #EA4335;
}

.social-link.telegram:hover {
    background: #0088cc;
}

.close-share {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}

@media (max-width: 480px) {
    .referral-input-group {
        flex-direction: column;
    }

    .copy-button {
        width: 100%;
        height: 50px;
    }
}

/* Help Popup Overlay */
.popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-box {
    background: #fff;
    width: 90%;
    max-width: 380px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 25px;
    text-align: center;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.popup-box h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #222;
    text-align: left;
}

.popup-box p {
    font-size: 14px;
    color: #555;
    margin: 20px 0;
    line-height: 1.6;
}

.contact-btn {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.call-btn {
    background: #f1f1f1;
    color: #333;
}

.chat-btn {
    background: #00897b;
    color: white;
}

.call-btn:hover {
    background: #e2e2e2;
}

.chat-btn:hover {
    background: #00796b;
}

.close-popup {
    position: absolute;
    right: 12px;
    top: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #555;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 600px) {
    .faq-container {
        margin: 20px;
    }

    .faq-header {
        padding: 30px 15px;
    }

    .faq-header h2 {
        font-size: 20px;
    }

    .faq-search {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .help-btn {
        width: 100%;
        justify-content: center;
    }
}

.back-btn {
    margin-bottom: 10px;
}

.back-btn a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.back-btn a i {
    font-size: 25px;
    margin: 10px;
    background: #fff;
    padding: 10px;
    border-radius: 20px;
    color: #000000;
}

.back-btn a:hover {
    color: #00897b;
    /* your theme green color */
}

.container {
    max-width: 1300px;
    margin: 0px auto;
    background: #fff;
    border-radius: 12px;
    padding: 30px;
}

.content-inner {
    max-width: 800px;
    margin: 0 auto;
}

/* Header section */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header i {
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
}

.header i:hover {
    color: #00897b;
    transform: translateX(-3px);
}

.header h2 {
    font-size: 24px;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 10px;
}

.header-actions button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
    color: #666;
}

.header-actions button:hover {
    background: #f0f0f0;
    color: #333;
}

.subtitle {
    color: #777;
    font-size: 15px;
    margin-bottom: 25px;
}

/* Notification card */
.notification {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #fafafa;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 15px;
    gap: 15px;
    transition: 0.3s;
    border: 1px solid #f0f0f0;
}

.notification:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-color: #e0e0e0;
}

.notification.warning {
    background: #fff7d9 !important;
    border-color: #ffe8a3;
}

.notification.unread {
    background: #f0f8ff;
    border-color: #b3e5fc;
}

/* Icon box */
.notif-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.notif-icon {
    font-size: 20px;
}

/* Content section */
.notif-content {
    flex: 1;
}

.notif-content h4 {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.notif-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #555;
}

.notif-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.notif-action-btn {
    font-size: 12px;
    padding: 6px 10px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    color: #666;
}

.notif-action-btn:hover {
    background: #f0f0f0;
    color: #333;
}

/* Time on right */
.notif-time {
    white-space: nowrap;
    font-size: 12px;
    color: #777;
    align-self: flex-start;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 25px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #666;
    transition: 0.3s;
}

.pagination a:hover {
    background: #f0f0f0;
    color: #333;
}

.pagination .active {
    background: #00897b;
    color: #fff;
    border-color: #00897b;
}

/* Badge for unread */
.unread-badge {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff5252;
    border-radius: 50%;
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        margin: 0px;
        padding: 20px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header h2 {
        font-size: 20px;
    }

    .notification {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .notif-time {
        align-self: flex-start;
    }

    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

/* Unified Extras Container (About, FAQ, Terms, etc.) */
.extras-container {
    max-width: 1440px;
    margin: 0px auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 60px 40px;
    min-height: 80vh;
}

.extras-content-inner {
    max-width: 850px;
    margin: 0 auto;
}

/* Back Button */
.back-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #333;
    border: 1px solid #eee;
}

.back-button:hover {
    background: #00796b;
    color: #fff;
    transform: scale(1.1);
    border-color: #00796b;
}

.back-button i {
    font-size: 18px;
}

/* Typography */
.extras-container h1 {
    font-size: 35px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #00796b;
}

.extras-container .subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 45px;
    font-weight: 400;
}

.extras-container h2 {
    font-size: 26px;
    font-weight: 600;
    color: #222;
    margin-top: 50px;
    margin-bottom: 20px;
}

.extras-container h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444;
    margin-top: 35px;
    margin-bottom: 15px;
}

.extras-container p {
    color: #444;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.extras-container ul {
    margin-left: 20px;
    margin-bottom: 30px;
}

.extras-container li {
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
    line-height: 1.6;
}

/* --- Donate Clothes Page Styles --- */
.donate-banner {
    background-color: #05797e;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.donate-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

.pickup-form {
    background: #fff;
    line-height: 1.6;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pickup-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 15px;
}

.qty-box {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 20px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: #008080;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.qty-btn:hover {
    background: #006666;
}

.qty-box input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 2px solid #008080;
    border-radius: 8px;
    margin: 0 5px;
    font-size: 16px;
    font-weight: 600;
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #777;
    cursor: pointer;
    margin-bottom: 20px;
    transition: 0.3s;
}

.upload-box:hover {
    border-color: #008080;
    background: #f0f7f7;
}

.upload-box i {
    font-size: 32px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.month-box,
.time-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.month-btn,
.time-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.3s;
}

.month-btn.active,
.time-btn.active {
    border-color: #008080;
    color: #008080;
    background: #e0f2f1;
    font-weight: 600;
}

.schedule-btn {
    width: 100%;
    background: #008080;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.schedule-btn:hover {
    background: #006666;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#ngoSelect {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #fff;
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10'><path fill='gray' d='M7 10L0 0h14z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px;
}

/* Success Popup */
.success-popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.success-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    width: 90%;
    max-width: 400px;
    animation: slideUp 0.4s ease-out;
}

.success-content i {
    font-size: 60px;
    color: #008080;
    margin-bottom: 20px;
    display: block;
}

.success-content h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #222;
}

.success-content p {
    color: #666;
    margin-bottom: 25px;
}

.success-content button {
    background: #008080;
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.success-content button:hover {
    background: #006666;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .extras-container {
        margin: 20px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .extras-container {
        padding: 30px 20px;
        margin: 10px;
        border-radius: 12px;
    }

    .extras-container h1 {
        font-size: 32px;
    }

    .extras-container .subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .extras-container h2 {
        font-size: 22px;
        margin-top: 35px;
    }
}

@media (max-width: 480px) {
    .extras-container {
        padding: 25px 15px;
    }

    .back-button {
        width: 40px;
        height: 40px;
        margin-bottom: 20px;
    }

    .extras-container h1 {
        font-size: 28px;
    }

    .referral-input-group {
        flex-direction: row !important;
        gap: 8px;
        margin-bottom: 15px;
    }

    .referral-input-group input {
        font-size: 16px !important;
        padding: 8px 12px !important;
    }

    .copy-button {
        width: 45px !important;
        height: 45px !important;
        font-size: 18px !important;
    }

    .share-action-btn {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    /* Donate Clothes Responsive */
    .donate-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .month-box,
    .time-box {
        justify-content: center;
    }

    .success-content {
        padding: 30px 20px;
    }

    .success-content h4 {
        font-size: 18px;
    }
}