/* ==========================================================
   NIKAH BOOK — ACCOUNT & DATA DELETION
   File: public/assets/delete-account.css

   Brand: #065C6F
   Responsive, accessible and production-ready
   ========================================================== */

:root {
    --brand: #065C6F;
    --brand-dark: #044654;
    --brand-soft: #EAF5F5;

    --background: #FFFFFF;
    --surface: #FFFFFF;
    --surface-soft: #F7FAFA;

    --text: #18343C;
    --muted: #60747B;
    --border: #E0E9EB;

    --success: #16734A;
    --success-bg: #EDF8F1;

    --error: #B42332;
    --error-bg: #FFF1F1;

    --shadow: 0 12px 38px rgba(6, 52, 65, 0.055);

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ==========================================================
   BASE
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ==========================================================
   HEADER
   ========================================================== */

.site-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 85px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    min-width: 0;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand span {
    color: var(--brand);
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 20px;

    color: var(--brand);
    background: var(--brand-soft);

    border: 1px solid rgba(6, 92, 111, 0.12);
    border-radius: 50px;

    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.header-link:hover {
    background: #DDEFF0;
}

/* ==========================================================
   INTRODUCTION
   ========================================================== */

.page-intro {
    position: relative;
    overflow: hidden;

    background: linear-gradient(180deg,
            #F0F8F7 0%,
            #FFFFFF 100%);

    border-bottom: 1px solid rgba(6, 92, 111, 0.06);
}

.intro-inner {
    max-width: 860px;
    padding-top: 76px;
    padding-bottom: 73px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 8px 16px;

    border: 1px solid rgba(6, 92, 111, 0.14);
    border-radius: 50px;

    background: #FFFFFF;
    color: var(--brand);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.17em;
}

.page-intro h1 {
    margin: 23px 0 20px;

    color: var(--brand-dark);
    font-size: clamp(32px, 4.5vw, 49px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.intro-description {
    max-width: 690px;
    margin: 0 auto;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.9;
}

.intro-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;

    max-width: 650px;
    margin: 30px auto 0;
    padding: 17px 22px;

    background: #FFFFFF;
    border: 1px solid #D8E9E8;
    border-radius: 14px;

    color: #355E62;
    font-size: 13px;
    line-height: 1.75;

    text-align: left;
}

.note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    flex-shrink: 0;

    background: var(--brand);
    border-radius: 50%;

    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
}

/* ==========================================================
   MAIN LAYOUT
   ========================================================== */

.content-section {
    padding: 78px 0 95px;
    background: #FFFFFF;
}

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 410px);
    align-items: start;
    gap: 34px;
}

.information-column,
.form-column {
    min-width: 0;
}

/* ==========================================================
   INFORMATION CARDS
   ========================================================== */

.information-card {
    padding: 33px 36px;
    margin-bottom: 21px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.information-card:last-child {
    margin-bottom: 0;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 38px;
    height: 30px;
    padding: 0 9px;
    margin-bottom: 17px;

    color: var(--brand);
    background: var(--brand-soft);

    border-radius: 7px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.055em;
}

.information-card h2 {
    margin-bottom: 17px;

    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.035em;
    color: var(--brand-dark);
}

.information-card p {
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.95;
}

.information-card p:last-child {
    margin-bottom: 0;
}

.information-card strong {
    color: var(--text);
    font-weight: 700;
}

.steps-list,
.data-list {
    padding-left: 23px;
    margin: 18px 0;

    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.9;
}

.steps-list li,
.data-list li {
    padding-left: 5px;
    margin-bottom: 9px;
}

.steps-list li:last-child,
.data-list li:last-child {
    margin-bottom: 0;
}

.steps-list li::marker {
    color: var(--brand);
    font-weight: 800;
}

.data-list li::marker {
    color: var(--brand);
}

.small-note {
    padding-top: 5px;
    font-size: 12px !important;
    color: #71858B !important;
}

/* ==========================================================
   SECURITY NOTICE
   ========================================================== */

.security-notice {
    margin-top: 23px;
    padding: 19px 21px;

    background: var(--brand-soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 12px 12px 0;
}

.security-notice strong {
    display: block;
    margin-bottom: 5px;

    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
}

.security-notice p {
    margin: 0;
    font-size: 12px;
    line-height: 1.85;
}

/* ==========================================================
   REQUEST FORM
   ========================================================== */

.request-card {
    background: #FFFFFF;
    border: 1px solid #D7E5E6;
    border-radius: 22px;
    overflow: hidden;

    box-shadow: 0 17px 55px rgba(6, 52, 65, 0.09);
}

.form-heading {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 29px 29px 0;
}

.form-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;
    flex-shrink: 0;

    background: var(--brand);
    border-radius: 14px;

    color: #FFFFFF;
    font-size: 25px;
}

.form-eyebrow {
    color: var(--brand);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.form-heading h2 {
    margin: 7px 0 0;

    color: var(--brand-dark);
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.form-description {
    margin: 17px 29px 23px;

    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.85;
}

#deletion-form {
    padding: 0 29px 30px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;

    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.field label span:not(.optional) {
    color: #C03945;
}

.optional {
    font-size: 11px;
    font-weight: 400;
    color: #839398;
}

.field input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 49px;

    padding: 0 15px;

    background: #FFFFFF;
    border: 1px solid #D9E3E6;
    border-radius: 10px;

    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;

    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input::placeholder {
    color: #9AA8AD;
    opacity: 1;
}

.field input:hover {
    border-color: #AFC9CE;
}

.field input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(6, 92, 111, 0.09);
}

.field input:disabled {
    background: #F3F6F7;
    cursor: not-allowed;
}

/* ==========================================================
   CONFIRMATION CHECKBOX
   ========================================================== */

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin: 24px 0 22px;

    cursor: pointer;
}

.checkbox-row input {
    width: 17px;
    height: 17px;
    flex-shrink: 0;

    margin: 4px 0 0;

    accent-color: var(--brand);
    cursor: pointer;
}

.checkbox-row span {
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.85;
}

/* ==========================================================
   SUBMIT BUTTON
   ========================================================== */

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 51px;
    padding: 13px 17px;

    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 11px;

    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;

    transition: background-color 0.15s;
}

.submit-button:hover:not(:disabled) {
    background: var(--brand-dark);
}

.submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.form-footer-note {
    margin: 14px 0 0;

    color: #85969A;
    font-size: 11px;
    line-height: 1.65;
    text-align: center;
}

/* ==========================================================
   FORM STATUS
   ========================================================== */

.form-message {
    margin-bottom: 17px;
    padding: 13px 15px;

    border: 1px solid transparent;
    border-radius: 10px;

    font-size: 12px;
    line-height: 1.75;
}

.form-message[hidden] {
    display: none;
}

.form-message.is-success {
    background: var(--success-bg);
    color: var(--success);
    border-color: #CBEAD7;
}

.form-message.is-error {
    background: var(--error-bg);
    color: var(--error);
    border-color: #F3CCCE;
}

/* ==========================================================
   SUPPORT CARD
   ========================================================== */

.support-card {
    margin-top: 21px;
    padding: 25px 27px;

    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 18px;
}

.support-card h3 {
    margin-bottom: 10px;

    color: var(--brand-dark);
    font-size: 15px;
    font-weight: 600;
}

.support-card p {
    margin-bottom: 12px;

    color: var(--muted);
    font-size: 12px;
    line-height: 1.85;
}

.support-card a {
    display: inline-block;

    color: var(--brand);
    font-size: 13px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.support-card a:hover {
    text-decoration: underline;
}

/* ==========================================================
   PRIVACY POLICY SECTION
   ========================================================== */

.bottom-section {
    padding: 76px 0;

    background: #F0F7F6;
    border-top: 1px solid #E2EEEC;
}

.bottom-inner {
    max-width: 760px;
    text-align: center;
}

.bottom-inner h2 {
    margin-bottom: 15px;

    color: var(--brand-dark);
    font-size: clamp(23px, 3.5vw, 31px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.35;
}

.bottom-inner p {
    max-width: 600px;
    margin: 0 auto 24px;

    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.9;
}

.privacy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 11px 22px;

    background: var(--brand);
    border: 1px solid var(--brand);
    border-radius: 50px;

    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
}

.privacy-link:hover {
    background: var(--brand-dark);
}

/* ==========================================================
   FOOTER
   ========================================================== */

.site-footer {
    padding: 48px 0 30px;
    background: #053E4B;
    color: #FFFFFF;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;

    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.footer-brand span {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 400;
    letter-spacing: -0.035em;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 27px;
}

.site-footer nav a {
    color: #C8DFE1;
    font-size: 12px;
    font-weight: 500;
}

.site-footer nav a:hover {
    color: #FFFFFF;
}

.site-footer p {
    margin: 0;

    color: #A6C2C8;
    font-size: 11px;
    line-height: 1.6;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 980px) {
    .content-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
        gap: 22px;
    }

    .information-card {
        padding: 28px;
    }

    .form-heading {
        padding: 25px 23px 0;
    }

    .form-description {
        margin-left: 23px;
        margin-right: 23px;
    }

    #deletion-form {
        padding-left: 23px;
        padding-right: 23px;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {
    .container {
        padding: 0 22px;
    }

    .header-inner {
        min-height: 72px;
    }

    .brand span {
        font-size: 19px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .header-link {
        padding: 9px 14px;
        font-size: 11px;
    }

    .intro-inner {
        padding-top: 59px;
        padding-bottom: 60px;
    }

    .intro-description {
        font-size: 14px;
        line-height: 1.85;
    }

    .intro-note {
        font-size: 12px;
        padding: 15px 17px;
    }

    .content-section {
        padding: 49px 0 70px;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .information-column {
        order: 2;
    }

    .form-column {
        order: 1;
    }

    .request-card {
        max-width: 580px;
        margin: 0 auto;
    }

    .support-card {
        max-width: 580px;
        margin-left: auto;
        margin-right: auto;
    }

    .information-card {
        padding: 27px;
    }

    .bottom-section {
        padding: 57px 0;
    }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 420px) {
    .container {
        padding: 0 17px;
    }

    .header-inner {
        gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand span {
        font-size: 17px;
    }

    .brand img {
        width: 31px;
        height: 31px;
    }

    .header-link {
        padding: 8px 11px;
        font-size: 10px;
    }

    .intro-inner {
        padding-top: 49px;
        padding-bottom: 50px;
    }

    .page-intro h1 {
        font-size: 31px;
    }

    .eyebrow {
        font-size: 9px;
    }

    .intro-note {
        gap: 10px;
    }

    .information-card {
        padding: 24px 20px;
        border-radius: 16px;
    }

    .information-card h2 {
        font-size: 18px;
    }

    .information-card p,
    .steps-list,
    .data-list {
        font-size: 12.5px;
    }

    .form-heading {
        padding: 25px 20px 0;
        gap: 12px;
    }

    .form-icon {
        width: 43px;
        height: 43px;
    }

    .form-heading h2 {
        font-size: 16px;
    }

    .form-description {
        margin: 17px 20px 23px;
    }

    #deletion-form {
        padding: 0 20px 27px;
    }

    .support-card {
        padding: 22px;
    }
}

/* ==========================================================
   ACCESSIBILITY
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ==========================================
   NIKAH BOOK — STYLIZED WORDMARK
   ========================================== */

/* Header wordmark */
.site-header .brand img.brand-wordmark-img {
    display: block;
    width: auto;
    height: 20px;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
}

/* Footer wordmark */
.site-footer .footer-brand img.brand-wordmark-img {
    display: block;
    width: auto;
    height: 20px;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 700px) {

    .site-header .brand img.brand-wordmark-img,
    .site-footer .footer-brand img.brand-wordmark-img {
        height: 18.4px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .site-header .brand img.brand-wordmark-img {
        height: 16px;
    }
}