/**
 * KhujiBD Registration Pages & FAQ Module Styles
 * Covers: /help-faq/, /registration-doctor/, /hospital-diagnostic-registration/, /roktodan-songothon-registration/
 */

.khuji-page-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Hind Siliguri', 'Anek Bangla', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2D3748;
    box-sizing: border-box;
}

.khuji-page-wrapper * {
    box-sizing: border-box;
}

/* Hero Notices */
.khuji-hero-notice {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, #F0FDFA 0%, #E6F7F7 100%);
    border: 1px solid #99F6E4;
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px -3px rgba(3, 164, 167, 0.08);
}
.khuji-hero-hospital {
    background: linear-gradient(135deg, #F0FDF4 0%, #E8F8EE 100%);
    border-color: #A7F3D0;
}
.khuji-hero-blood {
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
    border-color: #FECACA;
}
.khuji-notice-icon {
    font-size: 38px;
    line-height: 1;
    flex-shrink: 0;
    background: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.khuji-notice-body h2 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-notice-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #4A5568;
}

/* Info Box Grid (Benefits & Guides) */
.khuji-info-box-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}
.khuji-info-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.khuji-benefit-box {
    border-left: 4px solid #10B981;
}
.khuji-guide-box {
    border-left: 4px solid #03A4A7;
}
.khuji-info-box-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.khuji-info-box-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-box-icon {
    font-size: 22px;
}
.khuji-guide-intro {
    font-size: 14px;
    line-height: 1.6;
    color: #4A5568;
    margin-bottom: 12px;
}
.khuji-guide-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.khuji-guide-tags span {
    background: #F1F5F9;
    color: #334155;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #E2E8F0;
}

/* Checklists & Lists */
.khuji-check-list, .khuji-bullet-list, .khuji-numbered-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.khuji-check-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}
.khuji-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1px;
    color: #10B981;
    font-weight: 800;
    font-size: 16px;
}
.khuji-bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: #475569;
}
.khuji-bullet-list li::before {
    content: "•";
    position: absolute;
    left: 4px;
    top: -2px;
    color: #03A4A7;
    font-size: 20px;
}
.khuji-numbered-list {
    counter-reset: khuji-counter;
}
.khuji-numbered-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
}
.khuji-numbered-list li::before {
    counter-increment: khuji-counter;
    content: counter(khuji-counter);
    position: absolute;
    left: 0;
    top: 2px;
    background: #03A4A7;
    color: #FFFFFF;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

/* 2-Column Responsive Layout */
.khuji-layout-grid {
    display: grid;
    gap: 28px;
}
.khuji-layout-2col {
    grid-template-columns: minmax(0, 1fr) 340px;
}
.khuji-main-col {
    min-width: 0;
}
.khuji-sidebar-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card Styling */
.khuji-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
}
.khuji-form-card {
    padding: 32px 36px;
}
.khuji-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px solid #F1F5F9;
}
.khuji-form-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-req-note {
    font-size: 13px;
    color: #EF4444;
    font-weight: 500;
}

/* Forms */
.khuji-form-row {
    display: grid;
    gap: 20px;
    margin-bottom: 18px;
}
.khuji-form-row-2 {
    grid-template-columns: 1fr 1fr;
}
.khuji-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}
.khuji-form-group label {
    font-size: 14.5px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 7px;
    display: block;
}
.khuji-form-group label span.req {
    color: #EF4444;
    font-weight: 700;
}
.khuji-form-group input[type="text"],
.khuji-form-group input[type="email"],
.khuji-form-group input[type="tel"],
.khuji-form-group input[type="number"],
.khuji-form-group input[type="url"],
.khuji-form-group textarea,
.khuji-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #CBD5E1;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1E293B;
    background: #FFFFFF;
    transition: all 0.2s ease-in-out;
}
.khuji-form-group input:focus,
.khuji-form-group textarea:focus,
.khuji-form-group select:focus {
    border-color: #03A4A7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(3, 164, 167, 0.15);
}
.khuji-form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.khuji-field-hint {
    font-size: 12px;
    color: #64748B;
    margin-top: 5px;
    line-height: 1.4;
}

/* Custom File Upload Box */
.khuji-file-uploader {
    position: relative;
    border: 2px dashed #99F6E4;
    background: #F0FDFA;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}
.khuji-file-uploader:hover {
    border-color: #03A4A7;
    background: #E6F7F7;
}
.khuji-file-uploader input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}
.khuji-upload-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}
.khuji-upload-text {
    margin: 0;
    font-size: 14px;
    color: #0F766E;
    font-weight: 500;
}
.khuji-file-name {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: #03A4A7;
    color: #FFFFFF;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

/* Checkbox */
.khuji-checkbox-group {
    margin: 22px 0 16px 0;
}
.khuji-custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}
.khuji-custom-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #03A4A7;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}
.khuji-check-label {
    flex: 1;
}

/* Submit Button */
.khuji-form-submit {
    margin-top: 24px;
}
.khuji-btn-submit {
    background: #03A4A7;
    color: #FFFFFF;
    border: none;
    border-radius: 28px;
    padding: 14px 44px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(3, 164, 167, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.khuji-btn-submit:hover {
    background: #028789;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(3, 164, 167, 0.38);
}
.khuji-btn-submit:active {
    transform: translateY(0);
}
.khuji-btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Alerts */
.khuji-form-alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.6;
}
.khuji-form-alert.alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}
.khuji-form-alert.alert-error {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

/* Google Form Button */
.khuji-btn-gform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0C2331;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 10px 22px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.khuji-btn-gform:hover {
    background: #03A4A7;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Sidebar Cards */
.khuji-sidebar-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-support-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}
.khuji-support-header {
    margin-bottom: 18px;
}
.khuji-support-badge {
    display: inline-block;
    background: #03A4A7;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.khuji-support-header h3 {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-support-header p {
    margin: 0;
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
}
.khuji-support-list {
    margin: 0 0 20px 0;
    padding: 0;
    list-style: none;
}
.khuji-support-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #E2E8F0;
}
.khuji-support-list li:last-child {
    border-bottom: none;
}
.khuji-supp-icon {
    font-size: 20px;
}
.khuji-supp-info strong {
    display: block;
    font-size: 13px;
    color: #64748B;
}
.khuji-supp-info a {
    color: #03A4A7;
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}
.khuji-supp-info a:hover {
    text-decoration: underline;
}
.khuji-btn-block {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.khuji-btn-fb {
    background: #1877F2;
    color: #FFFFFF !important;
}
.khuji-btn-fb:hover {
    background: #0D65D9;
}
.khuji-btn-call {
    background: #03A4A7;
    color: #FFFFFF !important;
}
.khuji-btn-call:hover {
    background: #028285;
}

/* --------------------------------------------------------------------------
   FAQ Search & Accordion
   -------------------------------------------------------------------------- */
.khuji-faq-search-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 28px;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.khuji-faq-search-inner {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}
.khuji-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    stroke: #94A3B8;
}
.khuji-faq-search-inner input {
    width: 100%;
    padding: 14px 44px 14px 50px;
    border: 2px solid #CBD5E1;
    border-radius: 30px;
    font-size: 16px;
    font-family: inherit;
    color: #0F172A;
    outline: none;
    transition: all 0.2s ease;
}
.khuji-faq-search-inner input:focus {
    border-color: #03A4A7;
    box-shadow: 0 0 0 4px rgba(3, 164, 167, 0.15);
}
#khuji-faq-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: #E2E8F0;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
}
#khuji-faq-clear:hover {
    background: #CBD5E1;
    color: #0F172A;
}
.khuji-faq-count-hint {
    margin: 10px 0 0 0;
    font-size: 13.5px;
    color: #64748B;
}
.khuji-faq-count-hint span {
    font-weight: 700;
    color: #03A4A7;
}

/* Accordion Items */
.khuji-accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.khuji-accordion-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}
.khuji-accordion-item:hover {
    border-color: #CBD5E1;
}
.khuji-accordion-item.is-active {
    border-color: #03A4A7;
    box-shadow: 0 4px 14px -3px rgba(3, 164, 167, 0.12);
}
.khuji-accordion-header {
    width: 100%;
    background: #FFFFFF;
    border: none;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    font-size: 16.5px;
    font-weight: 600;
    color: #0F172A;
    transition: background-color 0.2s ease;
}
.khuji-accordion-item.is-active .khuji-accordion-header {
    background: #F8FAFC;
    color: #03A4A7;
}
.khuji-accordion-qnumber {
    background: #E6F7F7;
    color: #03A4A7;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    flex-shrink: 0;
}
.khuji-accordion-title {
    flex: 1;
}
.khuji-accordion-icon {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: #94A3B8;
}
.khuji-accordion-item.is-active .khuji-accordion-icon {
    transform: rotate(180deg);
    color: #03A4A7;
}
.khuji-accordion-content {
    border-top: 1px solid #F1F5F9;
    background: #FFFFFF;
}
.khuji-accordion-body {
    padding: 18px 22px 22px 22px;
    font-size: 15px;
    line-height: 1.8;
    color: #334155;
}
.khuji-accordion-body p {
    margin: 0 0 10px 0;
}
.khuji-accordion-body p:last-child {
    margin-bottom: 0;
}
.khuji-accordion-body a {
    color: #03A4A7;
    font-weight: 600;
    text-decoration: underline;
}
.khuji-accordion-body a:hover {
    color: #028789;
}
.khuji-no-results {
    background: #F8FAFC;
    border: 1px dashed #CBD5E1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    color: #64748B;
    font-size: 15px;
}

/* Quick Action Cards Under FAQ */
.khuji-quick-actions {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 2px dashed #E2E8F0;
}
.khuji-section-title {
    margin: 0 0 18px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.khuji-action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 18px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.khuji-action-card:hover {
    border-color: #03A4A7;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px -2px rgba(3, 164, 167, 0.15);
}
.khuji-action-icon {
    font-size: 28px;
    flex-shrink: 0;
}
.khuji-action-text h4 {
    margin: 0 0 3px 0;
    font-size: 15px;
    font-weight: 700;
    color: #0C2331;
}
.khuji-action-text p {
    margin: 0;
    font-size: 12.5px;
    color: #64748B;
}

/* Blood FAQ in Blood Org Page */
.khuji-blood-faq-card {
    margin-top: 28px;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .khuji-layout-2col {
        grid-template-columns: 1fr;
    }
    .khuji-info-box-grid {
        grid-template-columns: 1fr;
    }
    .khuji-form-card {
        padding: 24px 20px;
    }
    .khuji-quick-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .khuji-hero-notice {
        flex-direction: column;
        padding: 20px;
        gap: 14px;
    }
    .khuji-form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .khuji-accordion-header {
        font-size: 15px;
        padding: 14px 16px;
    }
    .khuji-btn-submit {
        width: 100%;
    }
}
