/* LIVBEN - GLOBAL BASE */

/* Reset ve genel tipografi */

* {
    box-sizing: border-box;
}

html {
    font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: #16221e;
    background: #fafaf8;
    scrollbar-gutter: stable;
}

body {
    margin: 0;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

button,
.lv-button {
    background: #075c45;
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 12px 18px;
    cursor: pointer;
    display: inline-block;
}

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

input,
select,
textarea {
    border: 1px solid #c8d3ce;
    background: #fff;
    color: #14291f;
    border-radius: 9px;
    padding: 11px;
    width: 100%;
    margin: 7px 0 12px;
}

input[type=checkbox] {
    width: auto;
}

label {
    display: block;
    font-weight: 600;
}

h1,
h2 {
    line-height: 1.16;
}

h1 {
    font-size: clamp(30px, 4vw, 54px);
}

p {
    line-height: 1.6;
}

/* Tablolar */

table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
    background: white;
}

td,
th {
    border-bottom: 1px solid #dfe7e1;
    text-align: start;
    padding: 12px;
}

th {
    background: #e9f1eb;
}

/* Ortak sayfa bilesenleri */

.lv-shell {
    max-width: 1180px;
    margin: auto;
    padding: 28px 20px 70px;
    min-height: 65vh;
}

.lv-alert {
    background: #fff1d8;
    border: 1px solid #ffdc8a;
    padding: 15px;
    border-radius: 10px;
}

.lv-form {
    max-width: 450px;
    margin: 0 auto;
}

.lv-muted {
    background: #e9efeb;
    color: #11412e;
}

/* Genel footer */

.lv-footer {
    --footer-primary: #064e3b;
    --footer-dark: #172033;
    --footer-muted: #475569;
    --footer-border: #e2e8f0;
    text-align: start;
    font-family: "Inter", system-ui, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--footer-muted);
    background: #f8fafc;
    border-top: 1px solid var(--footer-border);
    padding: 32px 0 24px;
    overflow-wrap: anywhere;
}

html[lang="ar"] .lv-footer {
    font-family: "Noto Sans Arabic", "Inter", system-ui, sans-serif;
}

.lv-footer-grid {
    max-width: 1180px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 30px;
    width: 100%;
    padding-inline: 20px;
    box-sizing: border-box;
}

.lv-footer-column {
    min-width: 0;
}

.lv-footer-column h2 {
    margin: 0 0 16px;
    color: var(--footer-dark);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.lv-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lv-footer-column li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.lv-footer-column a {
    color: var(--footer-muted);
    text-decoration: none;
}

.lv-footer a:hover,
.lv-footer a:focus-visible {
    color: var(--footer-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lv-footer a:focus-visible {
    outline: 2px solid var(--footer-primary);
    outline-offset: 3px;
}

.lv-footer-bottom {
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8125rem;
    width: 100%;
    padding-inline: 20px;
    box-sizing: border-box;
}

.lv-footer-partner {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 44px;
    padding: 6px 0;
    color: var(--footer-primary);
    font-size: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Genel bilgi ve kurumsal sayfalar */

.lv-site-page,
.lv-site-page * {
    box-sizing: border-box;
}

.lv-site-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 36px;
    color: #24352d;
}

.lv-site-page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #718078;
    font-size: 13px;
}

.lv-site-page-breadcrumb a {
    color: #245b42;
    text-decoration: none;
}

.lv-site-page-head {
    padding: clamp(18px, 2.5vw, 34px);
    border-radius: 14px;
    background: linear-gradient(135deg, #142f25, #24543b);
    color: #fff;
}

.lv-site-page-kicker {
    margin: 0 0 9px;
    color: #ffc28e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.lv-site-page-head h1 {
    margin: 0;
    max-width: 750px;
    color: #fff;
    font-size: clamp(28px, 4.5vw, 45px);
    line-height: 1.2;
    letter-spacing: -.6px;
    overflow-wrap: anywhere;
}

.lv-site-page-intro {
    max-width: 680px;
    margin: 12px 0 0;
    color: #e2eee7;
    font-size: 16px;
    line-height: 1.65;
}

.lv-site-page-content {
    margin-top: 12px;
    padding: clamp(18px, 2.5vw, 34px);
    border: 1px solid #e5ebe6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(22, 44, 29, .045);
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.lv-site-page-content h2 {
    margin: 26px 0 10px;
    padding-left: 15px;
    border-left: 4px solid #f97316;
    color: #183d2c;
    font-size: clamp(21px, 2.8vw, 26px);
    font-weight: 750;
    line-height: 1.4;
}

.lv-site-page-content h2:first-child {
    margin-top: 0;
}

.lv-site-page-content h3 {
    margin: 20px 0 9px;
    color: #214a35;
    font-size: 19px;
    line-height: 1.45;
}

.lv-site-page-content p {
    margin: 0 0 13px;
    color: #435149;
    font-size: 16px;
    line-height: 1.7;
}

.lv-site-page-content > p:first-child {
    font-size: 17px;
    color: #34483d;
}

.lv-site-page-content strong {
    color: #153d29;
    font-weight: 750;
}

.lv-site-page-content ul {
    margin: 8px 0 17px;
    padding-inline-start: 25px;
}

.lv-site-page-content li {
    margin: 9px 0;
    color: #435149;
    font-size: 16px;
    line-height: 1.7;
    padding-inline-start: 3px;
}

.lv-site-page-content li::marker {
    color: #f97316;
}

.lv-site-page-content a {
    color: #b85212;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.lv-site-page-content a:hover {
    color: #813808;
}

.lv-site-page a:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 4px;
    border-radius: 3px;
}

/* RTL dil destegi */

[dir="rtl"] .lv-site-page-content h2 {
    border-left: 0;
    padding-left: 0;
    border-right: 4px solid #f97316;
    padding-right: 15px;
}

/* Responsive */

@media (max-width: 600px) {
    .lv-footer {
        font-size: 0.8125rem;
        padding: 24px 0 20px;
    }

    .lv-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 15px;
        margin-bottom: 24px;
    }

    .lv-footer-column h2 {
        font-size: 0.9375rem;
        margin-bottom: 12px;
    }

    .lv-footer-bottom {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .lv-footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lv-site-page {
        margin-bottom: 28px;
    }

    .lv-site-page-head {
        border-radius: 14px;
        padding: 20px;
    }

    .lv-site-page-content {
        margin-top: 14px;
        border-radius: 13px;
        padding: 20px;
    }

    .lv-site-page-content h2 {
        margin-top: 29px;
    }

    .lv-site-page-content p,
    .lv-site-page-content li {
        font-size: 15px;
    }
}


/* LIVBEN 579 - Iletisim aksiyon butonlari */
.lv-contact-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0 0;
}

.lv-site-page .lv-contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 76px;
    padding: 15px 16px;
    border: 1px solid transparent;
    border-radius: 16px;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    overflow-wrap: anywhere;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .12);
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        filter .18s ease;
}

.lv-contact-action svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}

.lv-site-page .lv-contact-action--email {
    background: #1d4ed8;
}

.lv-site-page .lv-contact-action--phone {
    background: #334155;
}

.lv-site-page .lv-contact-action--whatsapp {
    background: #15803d;
}

.lv-site-page .lv-contact-action:hover {
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(15, 23, 42, .18);
}

.lv-site-page .lv-contact-action:focus-visible {
    outline: 3px solid #f97316;
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .lv-contact-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .lv-site-page .lv-contact-action {
        min-height: 62px;
        justify-content: flex-start;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lv-site-page .lv-contact-action {
        transition: none;
    }
}


/* LIVBEN INTEGRATIONS CSS 215 - PAGE SCOPED */

.lv-integration-page {
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: clamp(16px, 3vw, 36px);
    box-sizing: border-box;
    color: #172b45;
}

.lv-integration-page,
.lv-integration-page * {
    box-sizing: border-box;
}

.lv-integration-page .lv-dashboard-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: clamp(22px, 4vw, 36px);
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f2f7ff, #ffffff);
    border: 1px solid #dae5f1;
    border-radius: 22px;
}

.lv-integration-page .lv-dashboard-header h1 {
    margin: 0;
    color: #10243e;
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.lv-integration-page .lv-dashboard-header p {
    margin: 0;
    color: #586b83;
    line-height: 1.6;
}

.lv-integration-page .lv-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 11px 20px;
    border: 1px solid #244e8a;
    border-radius: 11px;
    background: #244e8a;
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, transform .15s;
}

.lv-integration-page .lv-button:hover {
    background: #173965;
    color: #ffffff;
    text-decoration: none;
}

.lv-integration-page .lv-button:active {
    transform: translateY(1px);
}

.lv-integration-page .lv-button:focus-visible,
.lv-integration-page input:focus-visible {
    outline: 3px solid #78aeff;
    outline-offset: 3px;
}

.lv-integration-page .lv-button:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.lv-integration-page [role="status"] {
    padding: 15px 18px;
    margin: 0 0 22px;
    border: 1px solid #b7dec4;
    border-left: 4px solid #288450;
    border-radius: 12px;
    background: #eefaf1;
    color: #205c37;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.lv-integration-page .lv-integration-card {
    display: block;
    padding: clamp(20px, 3.5vw, 34px);
    border: 1px solid #dae5f1;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(21, 42, 75, .055);
}

.lv-integration-page .lv-integration-card h2 {
    margin: 0 0 22px;
    color: #10243e;
    font-size: clamp(21px, 3vw, 27px);
    line-height: 1.3;
}

.lv-integration-page .lv-integration-card h3 {
    margin: 28px 0 14px;
    color: #213e61;
    font-size: 18px;
}

.lv-integration-page .lv-integration-card > p {
    margin: 12px 0;
    color: #53667d;
    line-height: 1.65;
}

.lv-integration-page .lv-integration-card > p strong {
    display: inline-block;
    margin-left: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf3fc;
    color: #244e8a;
    font-size: 13px;
    font-weight: 700;
}

.lv-integration-page .lv-integration-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0 0;
    padding: clamp(16px, 3vw, 24px);
    border: 1px solid #e3eaf3;
    border-radius: 15px;
    background: #f8fafd;
}

.lv-integration-page .lv-integration-form p {
    width: 100%;
    margin: 0;
    color: #56677b;
    line-height: 1.6;
}

.lv-integration-page .lv-integration-form label {
    display: block;
    color: #213e61;
    font-weight: 650;
}

.lv-integration-page input[type="password"] {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #c7d4e5;
    border-radius: 10px;
    background: #ffffff;
    color: #172b45;
    font: inherit;
    font-size: 15px;
}

.lv-integration-page .lv-integration-card hr {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #e1e9f2;
}

@media (max-width: 640px) {
    .lv-integration-page {
        padding: 12px;
    }

    .lv-integration-page .lv-dashboard-header,
    .lv-integration-page .lv-integration-card {
        border-radius: 16px;
    }

    .lv-integration-page .lv-integration-form {
        padding: 16px;
    }

    .lv-integration-page .lv-button {
        width: 100%;
    }
}



/* LIVBEN NAVLUNEX INTEGRATION METRICS */
.lv-integration-page .lv-integration-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.lv-integration-page .lv-integration-metric {
    border: 1px solid rgba(127, 127, 127, 0.22);
    border-radius: 12px;
    background: rgba(127, 127, 127, 0.055);
    padding: 15px 17px;
}

.lv-integration-page .lv-integration-metric span {
    display: block;
    font-size: 0.85rem;
    opacity: 0.78;
    margin-bottom: 7px;
}

.lv-integration-page .lv-integration-metric strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1.2;
    font-weight: 700;
}

.lv-integration-page .lv-integration-note {
    font-size: 0.92rem;
    line-height: 1.65;
    opacity: 0.85;
}
