/* ============================================================
   Nanauta Sadat Digital Shajra — Public Stylesheet
   Version: 2.2.0
   Author: Mokib 313
   ============================================================ */

/* ===== Global Wrap ===== */
.nsft-wrap {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    box-sizing: border-box;
}

/* ===== Hero Section ===== */
.nsft-hero {
    background: linear-gradient(135deg, #0c5949 0%, #173f36 100%);
    color: #fff;
    text-align: center;
    padding: 70px 20px 60px;
    width: 100%;
    box-sizing: border-box;
}
.nsft-hero span {
    display: block;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 12px;
}
.nsft-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0 15px;
    color: #fff;
    line-height: 1.25;
}
.nsft-hero p {
    font-size: 18px;
    opacity: 0.92;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}
.nsft-principles {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}
.nsft-principles b {
    font-size: 13px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== Section ===== */
.nsft-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}
.nsft-heading {
    text-align: center;
    margin-bottom: 35px;
}
.nsft-kicker {
    display: block;
    color: #c9a227;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.nsft-heading h2 {
    font-size: 32px;
    color: #0c5949;
    margin: 10px 0;
    font-weight: 800;
    line-height: 1.3;
}
.nsft-heading p {
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 10px auto 0;
}

/* ===== Search ===== */
.nsft-search {
    max-width: 700px;
    margin: 30px auto;
}
.nsft-search label {
    display: block;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-align: center;
    font-size: 15px;
}
.nsft-search > div {
    display: flex;
    gap: 10px;
}
.nsft-search input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #fff;
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nsft-search input:focus {
    border-color: #c9a227;
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.25);
}
.nsft-search button {
    padding: 16px 32px;
    background: #c9a227;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}
.nsft-search button:hover {
    background: #a8871f;
}

/* ===== Results ===== */
.nsft-results {
    max-width: 900px;
    margin: 30px auto 0;
}
.nsft-result {
    background: #fff;
    border: 1px solid #e8e0c8;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.nsft-result:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.nsft-result details summary {
    cursor: pointer;
    padding: 18px 22px;
    background: #f7f5ee;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}
.nsft-result details summary:hover {
    background: #efe9d8;
}
.nsft-result details summary::-webkit-details-marker {
    display: none;
}
.nsft-result details[open] summary {
    background: #0c5949;
}
.nsft-result details[open] summary strong {
    color: #fff;
}
.nsft-result details[open] summary span {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.nsft-result details > div {
    padding: 22px;
}
.nsft-result strong {
    font-size: 20px;
    color: #0c5949;
    font-weight: 800;
    line-height: 1.4;
}
.nsft-result span {
    display: inline-block;
    padding: 4px 12px;
    background: #f1ead6;
    color: #765e18;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}
.nsft-result > p {
    margin: 8px 0;
    color: #555;
}

/* ===== Lineage ===== */
.nsft-lineage {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2ddcf;
}
.nsft-lineage details summary {
    cursor: pointer;
    padding: 14px 18px;
    background: #0c5949;
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    list-style: none;
    text-align: center;
    font-size: 15px;
    transition: background 0.3s ease;
}
.nsft-lineage details summary:hover {
    background: #c9a227;
}
.nsft-lineage details summary::-webkit-details-marker {
    display: none;
}
.nsft-lineage details[open] summary {
    background: #c9a227;
    border-radius: 10px 10px 0 0;
    margin-bottom: 10px;
}
.nsft-lineage h4 {
    margin: 0 0 18px;
    font-size: 22px;
    color: #0c5949;
}
.nsft-lineage ol {
    list-style: none;
    counter-reset: nsft-step;
    margin: 0;
    padding: 0;
}
.nsft-lineage li {
    counter-increment: nsft-step;
    position: relative;
    margin: 0 0 0 17px;
    padding: 0 0 24px 44px;
    border-left: 2px solid #d6c486;
}
.nsft-lineage li:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
}
.nsft-lineage li:before {
    content: counter(nsft-step);
    position: absolute;
    left: -17px;
    top: -2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0c5949;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 5px #fff;
}
.nsft-lineage li > span {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #173f36;
    margin-bottom: 6px;
}
.nsft-description {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 8px 0;
}

/* ===== Husband Info ===== */
.nsft-husband {
    background: #f8f6ef;
    border-left: 3px solid #c9a227;
    padding: 10px 14px;
    margin: 10px 0;
    border-radius: 0 8px 8px 0;
}
.nsft-husband small {
    display: block;
    font-size: 13px;
    color: #554d38;
    line-height: 1.7;
    margin: 3px 0;
}
.nsft-husband strong {
    color: #0c5949;
    font-weight: 700;
}

/* ===== Image ===== */
.nsft-image {
    margin: 12px 0;
}
.nsft-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.nsft-image small {
    display: block;
    font-size: 13px;
    color: #777;
    margin-top: 6px;
}

/* ===== Biography ===== */
.nsft-bio {
    margin: 12px 0;
    border: 1px solid #e8e0c8;
    border-radius: 10px;
    overflow: hidden;
    background: #faf8f2;
}
.nsft-bio summary {
    cursor: pointer;
    padding: 14px 18px;
    background: #f7f5ee;
    color: #0c5949;
    font-weight: 700;
    font-size: 15px;
    list-style: none;
}
.nsft-bio summary::-webkit-details-marker {
    display: none;
}
.nsft-bio > div {
    padding: 18px 22px;
    font-size: 15px;
    line-height: 1.9;
    color: #444;
}
.nsft-bio[open] summary {
    background: #0c5949;
    color: #fff;
}

/* ===== Citations ===== */
.nsft-citations {
    margin-top: 10px;
}
.nsft-source {
    display: block;
    padding: 8px 14px;
    border-left: 3px solid #c9a227;
    background: #f8f6ef;
    color: #554d38;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 6px;
    border-radius: 0 8px 8px 0;
}
.nsft-source.is-verified {
    border-left-color: #18864b;
    background: #eef8f2;
}
.nsft-source.is-pending {
    border-left-color: #b07a16;
    background: #fff8e8;
}
.nsft-source a {
    font-weight: 700;
    text-decoration: underline;
    color: #0c5949;
}

/* ===== History Section ===== */
.nsft-history-section {
    background: #faf8f2;
}
.nsft-history-list {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0;
}
.nsft-history-item {
    background: #fff;
    border: 1px solid #e8e0c8;
    border-radius: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.nsft-history-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.nsft-history-item details summary {
    cursor: pointer;
    padding: 18px 22px;
    background: #f7f5ee;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.3s ease;
}
.nsft-history-item details summary:hover {
    background: #efe9d8;
}
.nsft-history-item details summary::-webkit-details-marker {
    display: none;
}
.nsft-history-item details[open] summary {
    background: #0c5949;
}
.nsft-history-item details[open] summary strong {
    color: #fff;
}
.nsft-history-item details[open] summary .nsft-status-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.nsft-history-item details > div {
    padding: 22px;
}
.nsft-history-item strong {
    font-size: 20px;
    color: #0c5949;
    font-weight: 800;
    line-height: 1.4;
}
.nsft-history-item p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 12px 0;
}
.nsft-status-badge {
    display: inline-block;
    background: #eaf6ef;
    color: #17643e;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* ===== Flowers Line ===== */
.nsft-flowers {
    display: block;
    text-align: center;
    font-size: 18px;
    letter-spacing: 8px;
    color: #c9a227;
    margin: 10px 0 16px;
    line-height: 1;
    opacity: 0.85;
}

/* ===== Submit Section ===== */
.nsft-submit-section {
    background: #f7f5ee;
}
.nsft-form {
    max-width: 800px;
    margin: 30px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e8e0c8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-sizing: border-box;
}
.nsft-form label {
    display: block;
    font-weight: 600;
    color: #0c5949;
    font-size: 14px;
}
.nsft-form input,
.nsft-form select,
.nsft-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d6c486;
    border-radius: 10px;
    font-size: 15px;
    margin-top: 6px;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nsft-form input:focus,
.nsft-form select:focus,
.nsft-form textarea:focus {
    border-color: #0c5949;
    box-shadow: 0 0 0 3px rgba(12, 89, 73, 0.1);
}
.nsft-wide {
    grid-column: 1 / -1;
}
.nsft-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #555;
}
.nsft-consent input {
    width: auto;
    margin-top: 3px;
}
.nsft-submit {
    padding: 16px;
    background: #0c5949;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}
.nsft-submit:hover {
    background: #c9a227;
}
.nsft-hp {
    position: absolute;
    left: -9999px;
}
.nsft-success {
    background: #eef8f2;
    border-left: 4px solid #18864b;
    padding: 16px 20px;
    border-radius: 0 10px 10px 0;
    color: #17643e;
    font-weight: 600;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.nsft-empty {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 16px;
    max-width: 800px;
    margin: 0 auto;
    background: #faf8f2;
    border-radius: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nsft-hero {
        padding: 50px 16px 40px;
    }
    .nsft-hero h1 {
        font-size: 28px;
    }
    .nsft-hero p {
        font-size: 16px;
    }
    .nsft-section {
        padding: 35px 16px;
    }
    .nsft-search > div {
        flex-direction: column;
    }
    .nsft-search button {
        width: 100%;
    }
    .nsft-form {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .nsft-history-list {
        padding: 0 12px;
    }
    .nsft-history-item {
        padding: 0;
    }
    .nsft-history-item strong {
        font-size: 17px;
    }
    .nsft-heading h2 {
        font-size: 24px;
    }
    .nsft-lineage li {
        margin-left: 14px;
        padding-left: 36px;
    }
    .nsft-lineage li:before {
        left: -14px;
        width: 27px;
        height: 27px;
    }
    .nsft-result details summary {
        flex-direction: column;
        align-items: flex-start;
    }
    .nsft-husband {
        padding: 8px 10px;
    }
    .nsft-husband small {
        font-size: 12px;
    }
}