* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: #1f2933;
    background: #f5f7fa;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(18, 40, 58, 0.08);
    box-shadow: 0 8px 24px rgba(17, 36, 52, 0.06);
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0d5c91;
}

.brand-logo {
    display: block;
    max-width: 190px;
    max-height: 58px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    font-weight: 600;
    overflow-x: auto;
    white-space: nowrap;
}

.page-body {
    min-height: calc(100vh - 180px);
}

.hero,
.inner-hero,
.content-section,
.dashboard-section,
.login-section {
    padding: 56px 0;
}

.hero-grid,
.card-grid,
.footer-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: 1.2fr 0.95fr;
    align-items: center;
}

.card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #d9ebf7;
    color: #0d5c91;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    margin-bottom: 18px;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.12;
}

p,
li,
label,
input,
button {
    font-size: 16px;
    line-height: 1.6;
}

.feature-panel,
.card,
.login-card {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 43, 67, 0.08);
    box-shadow: 0 24px 60px rgba(24, 49, 73, 0.08);
}

.feature-panel,
.card {
    padding: 28px;
}

.feature-panel {
    background: linear-gradient(160deg, #0b4c78 0%, #0f75b8 100%);
    color: #eff8ff;
}

.hero-slider-card {
    position: relative;
    min-height: 360px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(160deg, #0b4c78 0%, #0f75b8 100%);
    box-shadow: 0 28px 70px rgba(24, 49, 73, 0.18);
}

.hero-slider-wrap {
    margin-top: 0;
}

.hero-slider-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
    gap: 24px;
    align-items: stretch;
}

.hero-side-blocks {
    display: grid;
    gap: 14px;
}

.hero-side-blocks .home-info-card {
    min-height: 0;
}

.hero-slider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slider-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.hero-slider-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-slider-empty {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.2), transparent 28%), linear-gradient(135deg, #031018 0%, #0b4c78 100%);
}

.hero-slider-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(8, 34, 54, 0.68) 0%, rgba(8, 34, 54, 0.2) 100%);
    pointer-events: none;
}

.hero-slider-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    display: grid;
    gap: 8px;
    max-width: 440px;
    color: #fff;
}

.slider-detail-btn {
    width: fit-content;
    margin-top: 8px;
}

.hero-slider-content span {
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hero-slider-content strong {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.05;
}

.hero-slider-content p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
}

.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 10px;
    transform: translateX(-50%);
}

.hero-slider-dots button {
    width: 11px;
    height: 11px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.hero-slider-dots button.active {
    width: 26px;
    background: #fff;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.clean-home {
    padding-top: 42px;
}

.home-intro {
    max-width: 900px;
    margin-top: 34px;
    text-align: center;
}

.home-intro h1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 920px;
}

.home-intro .hero-actions {
    justify-content: center;
}

.home-block-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.home-info-card {
    display: grid;
    gap: 8px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(13, 43, 67, 0.08);
    box-shadow: 0 18px 42px rgba(24, 49, 73, 0.08);
}

.home-info-card.dark-text strong {
    color: #0d4b74;
}

.home-info-card.dark-text span {
    color: #4c6172;
}

.home-info-card.light-text {
    color: #fff;
    box-shadow: 0 18px 42px rgba(15, 117, 184, 0.22);
}

.home-info-card.light-text strong,
.home-info-card.light-text span {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: #0f75b8;
    color: #fff;
}

.btn-secondary {
    background: #e8f3fb;
    color: #0d4b74;
}

.accent-card {
    background: linear-gradient(180deg, #eef7fd 0%, #ffffff 100%);
}

.clean-list {
    margin-bottom: 0;
    padding-left: 18px;
}

.section-heading {
    margin-bottom: 28px;
}

.login-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 520px;
}

.login-card {
    width: min(100%, 430px);
    padding: 28px;
}

.login-card h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px;
}

.login-card form {
    display: grid;
    gap: 12px;
}

.login-card input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfd8df;
    border-radius: 14px;
}

.password-eye-wrap {
    position: relative;
    width: 100%;
}

.password-eye-wrap input {
    padding-right: 52px;
}

.password-eye-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 30px;
    border: 1px solid #c7ddeb;
    border-radius: 10px;
    padding: 0;
    background: #e8f5fd;
    color: #0d4b74;
    cursor: pointer;
}

.password-eye-btn::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 9px;
    width: 16px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.password-eye-btn::after {
    content: "";
    position: absolute;
    left: 14px;
    top: 12px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.password-eye-btn.is-visible::after {
    left: 7px;
    top: 14px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    transform: rotate(-35deg);
}

.table-password-eye .admin-table-input {
    min-height: 38px;
}

.login-error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: #fff0f0;
    color: #b32727;
    font-weight: 700;
}

.customer-dashboard-card {
    padding: 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, #ffffff 0%, #e9f6fd 100%);
    border: 1px solid #dbeaf4;
    box-shadow: 0 24px 60px rgba(24, 49, 73, 0.08);
}

.customer-dashboard-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.customer-payment-box {
    margin-top: 24px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #eef9f5 52%, #eaf5ff 100%);
    border: 1px solid #dbeaf4;
}

.garanti-payment-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.garanti-wordmark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #084f8d;
    letter-spacing: 0.02em;
}

.garanti-wordmark.large {
    font-size: 28px;
    margin-bottom: 20px;
}

.garanti-mark {
    width: 34px;
    height: 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00a651 0%, #0072bc 100%);
    box-shadow: inset -10px 0 0 rgba(255, 255, 255, 0.22);
}

.payment-mode-pill {
    padding: 9px 13px;
    border-radius: 999px;
    background: #e8f5fd;
    color: #0d4b74;
    font-weight: 900;
}

.customer-payment-box h2 {
    margin-bottom: 8px;
    color: #0d4b74;
}

.customer-payment-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
    gap: 12px;
    align-items: end;
    margin-top: 18px;
}

.customer-payment-form label {
    grid-column: 1 / -1;
    font-weight: 800;
}

.customer-payment-form input,
.customer-payment-form select,
.garanti-card-form input {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cfd8df;
    border-radius: 14px;
}

.payment-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.payment-check input {
    min-height: auto;
}

.locked-check {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cfd8df;
    border-radius: 14px;
    background: #f4f8fb;
    color: #0d4b74;
}

.garanti-card-form {
    display: grid;
    gap: 12px;
    padding: 28px;
    border-radius: 28px;
    background: #fff;
    border: 1px solid #dbeaf4;
    box-shadow: 0 24px 60px rgba(24, 49, 73, 0.08);
}

.garanti-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.garanti-card-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-expiry-cvv-grid {
    grid-template-columns: minmax(160px, 220px) minmax(120px, 180px);
    align-items: end;
}

.card-expiry-field input,
.card-cvv-field input {
    width: 100%;
}

.garanti-card-form select {
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #cfd8df;
    border-radius: 14px;
}

.pos-shell {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
    gap: 22px;
    align-items: stretch;
}

.pos-summary {
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(150deg, #073b68 0%, #0d75b8 54%, #00a651 120%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(13, 75, 116, 0.18);
}

.pos-summary .garanti-wordmark,
.pos-summary .payment-mode-pill {
    color: #fff;
}

.pos-summary .payment-mode-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    margin-bottom: 22px;
}

.pos-summary h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 0.98;
    margin-bottom: 18px;
}

.pos-summary dl {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.pos-summary dt {
    opacity: 0.75;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pos-summary dd {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.card-visual {
    min-height: 150px;
    padding: 22px;
    border-radius: 24px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.38), transparent 34%), linear-gradient(135deg, #102738 0%, #0d75b8 58%, #00a651 130%);
    color: #fff;
    display: grid;
    align-content: space-between;
    margin-bottom: 8px;
}

.card-chip {
    width: 44px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f6d36d 0%, #d8a82f 100%);
}

.card-visual strong {
    justify-self: end;
}

.test-card-helper {
    display: grid;
    gap: 6px;
    padding: 14px;
    border-radius: 18px;
    background: #eef8ff;
    color: #0d4b74;
}

.test-card-helper .btn {
    justify-self: start;
}

.pos-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .customer-payment-form,
    .pos-shell,
    .garanti-card-grid,
    .pos-admin-grid {
        grid-template-columns: 1fr;
    }

    .pos-admin-grid .wide {
        grid-column: auto;
    }
}

.payment-result-card.success {
    border-color: #9bd7b6;
}

.payment-result-card.warning {
    border-color: #f0c6c6;
}

.payment-user-message {
    margin: 18px 0;
    padding: 16px 18px;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 900;
}

.payment-user-message.success {
    background: #e9f9ef;
    color: #176b37;
}

.payment-user-message.warning {
    background: #fff4e5;
    color: #9a5a00;
}

.payment-receipt {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.payment-receipt div {
    padding: 16px;
    border-radius: 18px;
    background: #f4f8fb;
    border: 1px solid #dbeaf4;
}

.payment-receipt span {
    display: block;
    margin-bottom: 6px;
    color: #587188;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.payment-receipt strong {
    color: #102738;
    font-size: 20px;
}

.receipt-print-sheet {
    width: min(100%, 820px);
    margin: 24px auto 0;
    padding: 56px 54px 72px;
    background: #fff;
    border: 1px solid #d6dde5;
    box-shadow: 0 18px 40px rgba(16, 39, 56, 0.08);
}

.receipt-print-header {
    display: block;
    margin-bottom: 46px;
}

.receipt-print-header h2 {
    margin: 0;
    font-size: 25px;
    color: #102738;
    max-width: none;
    text-align: center;
}

.receipt-print-date {
    display: block;
    margin-top: 14px;
    text-align: right;
    font-size: 25px;
    line-height: 1.05;
    font-weight: 800;
    color: #102738;
}

.receipt-company-lines {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
    color: #102738;
}

.receipt-company-lines strong {
    font-size: 15px;
    font-weight: 800;
}

.receipt-company-lines div,
.receipt-detail-table div {
    display: grid;
    grid-template-columns: 170px 18px 1fr;
    gap: 8px;
    align-items: start;
}

.receipt-company-lines span,
.receipt-detail-table span {
    font-weight: 800;
    color: #102738;
}

.receipt-company-lines b,
.receipt-detail-table b {
    color: #102738;
}

.receipt-company-lines p,
.receipt-detail-table p {
    margin: 0;
    color: #102738;
    line-height: 1.55;
}

.receipt-divider {
    height: 2px;
    margin: 26px 0 28px;
    background: #9aa8b5;
}

.receipt-detail-table {
    display: grid;
    gap: 10px;
    margin-bottom: 40px;
}

.receipt-note {
    margin-top: 28px;
    color: #102738;
    line-height: 1.75;
    font-weight: 700;
    white-space: normal;
}

.receipt-signature {
    margin-top: 56px;
    color: #102738;
    font-weight: 800;
}

.receipt-company {
    display: grid;
    gap: 5px;
    margin: 18px 0;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dbeaf4;
}

.receipt-company strong {
    font-size: 22px;
    color: #0d4b74;
}

.receipt-company span {
    color: #587188;
    font-weight: 700;
}

.pos-admin-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: center;
}

.pos-admin-grid .wide {
    grid-column: span 2;
}

.installment-check-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 12px;
    border: 1px solid #dbeaf4;
    border-radius: 14px;
    background: #f4f8fb;
}

.installment-check-grid strong {
    grid-column: 1 / -1;
    color: #0d4b74;
    font-size: 14px;
}

.installment-check-grid label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #102738;
    font-size: 13px;
    font-weight: 800;
}

.installment-check-grid input {
    width: auto;
}

.pos-definition-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

@media print {
    @page {
        size: A4;
        margin: 10mm 12mm;
    }

    header,
    footer,
    .site-header,
    .site-footer,
    .customer-dashboard-actions,
    .payment-user-message,
    .eyebrow,
    .payment-result-card > h1 {
        display: none !important;
    }

    .customer-dashboard-card {
        margin: 0;
        padding: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
    }

    .receipt-print-sheet {
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        font-size: 12px;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .receipt-print-header {
        margin-bottom: 24px;
    }

    .receipt-print-header h2,
    .receipt-print-date {
        font-size: 20px;
    }

    .receipt-company-lines {
        gap: 6px;
        margin-bottom: 18px;
    }

    .receipt-company-lines strong {
        font-size: 13px;
    }

    .receipt-company-lines div,
    .receipt-detail-table div {
        grid-template-columns: 150px 14px 1fr;
        gap: 6px;
    }

    .receipt-company-lines p,
    .receipt-detail-table p,
    .receipt-note {
        line-height: 1.35;
    }

    .receipt-divider {
        margin: 18px 0 20px;
    }

    .receipt-detail-table {
        gap: 6px;
        margin-bottom: 22px;
    }

    .receipt-note {
        margin-top: 16px;
        font-size: 11px;
    }

    .receipt-signature {
        margin-top: 28px;
        font-size: 12px;
    }
}

.site-footer {
    padding: 32px 0 48px;
    background: #102738;
    color: #eaf1f5;
}

.hero-copy {
    max-width: 620px;
}

.hero-lead {
    font-size: 18px;
    color: #4c6172;
}

.inner-hero {
    background:
        radial-gradient(circle at 12% 10%, rgba(15, 117, 184, 0.14), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #edf4f9 100%);
}

.inner-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: center;
}

.inner-hero-copy {
    max-width: 760px;
}

.inner-hero-panel {
    display: grid;
    gap: 12px;
    padding: 30px;
    border-radius: 28px;
    background: linear-gradient(160deg, #0b4c78 0%, #0f75b8 100%);
    color: #fff;
    box-shadow: 0 28px 70px rgba(24, 49, 73, 0.18);
}

.inner-hero-panel strong {
    font-size: 24px;
}

.inner-hero-panel span {
    color: rgba(255, 255, 255, 0.86);
}

.about-split {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 24px;
    align-items: stretch;
}

.about-main-card {
    padding: 34px;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #0f75b8;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-highlight {
    display: grid;
    gap: 14px;
}

.about-highlight div {
    display: grid;
    gap: 6px;
    padding: 22px;
    border-radius: 20px;
    background: #e8f5fd;
    border: 1px solid rgba(13, 43, 67, 0.08);
}

.about-highlight strong {
    color: #0d4b74;
    font-size: 22px;
}

.about-highlight span {
    color: #4c6172;
}

.about-simple-hero .container {
    max-width: 1120px;
}

.about-simple-hero h1,
.about-simple-hero .hero-lead {
    max-width: 820px;
}

.about-simple-section {
    padding-top: 34px;
}

.about-full-card {
    width: 100%;
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(13, 43, 67, 0.08);
    box-shadow: 0 20px 46px rgba(24, 49, 73, 0.08);
}

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

.page-content-text {
    white-space: pre-line;
    line-height: 1.75;
}

.contact-section {
    background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.contact-card {
    width: min(100%, 980px);
    padding: 34px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(13, 43, 67, 0.08);
    box-shadow: 0 20px 46px rgba(24, 49, 73, 0.08);
}

.contact-heading {
    margin-bottom: 24px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
    gap: 12px 18px;
}

.contact-label,
.contact-value {
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
}

.contact-label {
    background: #e8f5fd;
    color: #0d4b74;
    font-weight: 800;
}

.contact-value {
    background: #f8fbfd;
    color: #34495b;
    white-space: pre-line;
}

.about-process-list {
    display: grid;
    gap: 16px;
    width: 100%;
    margin-top: 22px;
}

.about-process-row {
    width: 100%;
    min-height: auto;
    padding: 24px 28px;
    border-radius: 22px;
    border: 1px solid rgba(13, 43, 67, 0.08);
    box-shadow: 0 16px 36px rgba(24, 49, 73, 0.07);
}

.about-process-row h3 {
    margin-bottom: 8px;
}

.about-process-row p {
    max-width: 940px;
    margin-bottom: 0;
}

.about-process-row.light {
    background: #e8f5fd;
}

.about-process-row.dark {
    background: #0f75b8;
    color: #fff;
}

.about-process-row.dark p {
    color: rgba(255, 255, 255, 0.88);
}

.hero-kpi {
    display: grid;
    gap: 16px;
}

.kpi-box {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.kpi-box:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}

.section-intro {
    margin-bottom: 24px;
}

.alt-surface {
    background: linear-gradient(180deg, #ffffff 0%, #edf4f9 100%);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: center;
}

.soft-card {
    background: #ffffff;
}

.admin-menu-block {
    margin-top: 28px;
}

.admin-alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #e5f6ea;
    color: #1f7a3f;
    font-weight: 700;
}

.admin-alert.admin-alert-warning {
    background: #fdecec;
    color: #b42318;
}

.admin-login-section {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
}

.admin-login-card {
    width: min(100%, 480px);
    padding: 34px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(24, 49, 73, 0.12);
}

.admin-login-card label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
}

.admin-error {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fdecec;
    color: #b42318;
    font-weight: 700;
}

.admin-logout {
    display: inline-flex;
    margin-top: 12px;
    color: #0f75b8;
    font-weight: 700;
}

.admin-form {
    margin-bottom: 34px;
}

.admin-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.admin-panel-card {
    padding: 24px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e4edf5;
    box-shadow: 0 18px 40px rgba(24, 49, 73, 0.08);
}

.admin-form-note {
    margin-top: 10px;
    color: #587188;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 700;
}

.admin-panel-card label {
    display: block;
    margin-top: 14px;
    margin-bottom: 6px;
    font-weight: 700;
    color: #34495b;
}

.admin-subsection {
    margin-top: 24px;
}

.admin-box-header.compact {
    margin-bottom: 12px;
}

.admin-card-save {
    margin-top: 18px;
}

.hero-block-create,
.hero-block-row {
    grid-template-columns: 110px minmax(125px, 0.8fr) minmax(180px, 1.1fr) minmax(170px, 0.9fr) minmax(180px, 1fr) 70px 64px 88px 64px;
    min-width: 1320px;
}

.color-input {
    width: 64px;
    padding: 3px;
}

.admin-image-preview {
    display: block;
    width: 100%;
    margin-top: 10px;
    border: 1px solid #dfe8f1;
    border-radius: 14px;
    background: #f7fbff;
    object-fit: contain;
}

.admin-image-preview.logo-preview {
    max-width: 220px;
    max-height: 90px;
    padding: 10px;
}

.admin-image-preview.slider-preview {
    max-height: 180px;
    object-fit: cover;
}

.admin-input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #cfdce7;
    border-radius: 12px;
    background: #f9fbfd;
}

.admin-textarea {
    min-height: 110px;
    resize: vertical;
}

.admin-textarea.large {
    min-height: 220px;
}

.admin-textarea.compact {
    min-height: 76px;
}

.content-page-card {
    width: min(100%, 920px);
}

.admin-helper-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #e8f5fd;
    color: #0d4b74;
    font-size: 14px;
    font-weight: 700;
}

.contact-admin-grid {
    display: grid;
    grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
    gap: 12px;
    margin-top: 14px;
}

.content-page-picker {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.content-page-tile {
    display: grid;
    gap: 8px;
    min-height: 120px;
    padding: 18px;
    border: 1px solid #dfe8f1;
    border-radius: 18px;
    background: #fff;
    color: #263747;
    text-align: left;
    box-shadow: 0 14px 32px rgba(24, 49, 73, 0.07);
    cursor: pointer;
}

.content-page-tile strong {
    color: #0d4b74;
    font-size: 20px;
}

.content-page-tile span {
    color: #5d7184;
}

.content-page-tile.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.content-page-editor {
    display: none;
}

.content-page-editor.active {
    display: block;
}

.admin-save-btn {
    margin-top: 18px;
}

.compact-menu-form {
    margin-bottom: 20px;
}

.admin-menu-create-form {
    display: grid;
    grid-template-columns: 145px minmax(180px, 1fr) minmax(230px, 1.2fr) 82px 105px 82px;
    gap: 10px;
    align-items: center;
    min-width: 900px;
    margin-bottom: 16px;
    padding: 12px;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    background: #f9fbfd;
}

.admin-menu-create-form .admin-secondary-btn {
    margin-top: 0;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(24, 49, 73, 0.08);
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e7eef5;
    text-align: left;
}

.admin-table th {
    background: #f0f7fc;
    color: #0d4b74;
}

.admin-table-input {
    width: 100%;
    min-height: 34px;
    padding: 7px 9px;
    border: 1px solid #cfdce7;
    border-radius: 9px;
    background: #fff;
}

.admin-table-input.small {
    width: 80px;
}

.admin-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.password-toggle {
    margin-top: 14px;
    color: #0d4b74;
}

.admin-row-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.admin-mini-btn {
    min-height: 34px;
    padding: 7px 12px;
    border: 0;
    border-radius: 9px;
    background: #0f75b8;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.admin-mini-btn.danger {
    background: #d94848;
}

.admin-menu-editor {
    display: grid;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.admin-menu-header,
.admin-menu-row {
    display: grid;
    grid-template-columns: minmax(160px, 1.1fr) minmax(190px, 1.2fr) 90px 110px minmax(210px, 0.9fr) 70px;
    gap: 10px;
    align-items: center;
    min-width: 900px;
}

.admin-menu-header {
    padding: 12px 14px;
    border-radius: 12px;
    background: #f0f7fc;
    color: #0d4b74;
    font-weight: 800;
}

.admin-menu-row {
    padding: 12px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e4edf5;
}

.customer-create-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.customer-row {
    grid-template-columns: minmax(130px, 0.8fr) minmax(220px, 1.5fr) minmax(180px, 1fr) 105px 110px 70px;
}

.customer-active-check {
    margin-bottom: 8px;
}

.admin-menu-update-form {
    display: contents;
}

.admin-menu-delete-form {
    display: inline-flex;
    justify-content: flex-start;
}

.admin-row-status {
    font-size: 12px;
    font-weight: 800;
    color: #66788a;
}

.admin-row-status.warning {
    color: #b7791f;
}

.admin-row-status.success {
    color: #1f7a3f;
}

.admin-slider-create {
    max-width: 760px;
    margin-bottom: 22px;
}

.admin-slider-list {
    display: grid;
    gap: 16px;
}

.admin-slider-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) 70px;
    gap: 18px;
    align-items: start;
    padding: 16px;
    border: 1px solid #e4edf5;
    border-radius: 18px;
    background: #fff;
}

.admin-slider-thumb {
    width: 100%;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
    background: #edf4fa;
}

.admin-slider-thumb.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5d7184;
    font-weight: 800;
}

.admin-slider-form {
    display: grid;
    gap: 8px;
}

.admin-font-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    margin-top: 8px;
}

.admin-font-grid label {
    margin: 0;
}

.admin-slider-form .admin-textarea {
    min-height: 80px;
}

.admin-slider-delete {
    display: flex;
    justify-content: flex-start;
}

.slider-check {
    margin-top: 8px;
}

.admin-body {
    min-height: 100vh;
    background: #eef2f6;
    color: #263747;
}

@media (max-width: 1100px) {
    .admin-menu-create-form {
        overflow-x: auto;
    }
}

@media (max-width: 760px) {
    .admin-menu-create-form {
        grid-template-columns: 1fr;
        min-width: 0;
    }
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 270px;
    background: #1f2d3d;
    color: #cfd8e3;
    box-shadow: 12px 0 30px rgba(17, 24, 39, 0.16);
    z-index: 40;
    overflow-y: auto;
}

.admin-brand {
    display: grid;
    gap: 4px;
    padding: 22px 24px;
    background: #17212e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-brand strong {
    color: #fff;
    font-size: 24px;
}

.admin-brand span {
    font-size: 13px;
    color: #9fb0c2;
}

.admin-sidebar-nav {
    display: grid;
    gap: 4px;
    padding: 18px 12px 120px;
}

.admin-sidebar-nav a {
    padding: 12px 14px;
    border-radius: 10px;
    color: #d8e0ea;
    font-weight: 600;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: #0f75b8;
    color: #fff;
}

.admin-shell {
    min-height: 100vh;
    margin-left: 270px;
}

.admin-topbar {
    min-height: 88px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border-bottom: 1px solid #dfe8f1;
}

.admin-topbar h1 {
    margin: 0;
    font-size: 28px;
}

.admin-page-kicker {
    color: #0f75b8;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 12px;
}

.admin-topbar-actions {
    display: flex;
    gap: 12px;
}

.admin-topbar-actions a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #edf4fa;
    color: #0d4b74;
    font-weight: 700;
}

.admin-content {
    padding: 28px;
}

.admin-view {
    display: none;
}

.admin-view.active {
    display: block;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.admin-stat-card {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 22px;
    border-radius: 18px;
    color: #fff;
    box-shadow: 0 18px 36px rgba(17, 24, 39, 0.14);
}

.admin-stat-card strong {
    font-size: 42px;
    line-height: 1;
}

.admin-stat-card small {
    color: rgba(255, 255, 255, 0.84);
}

.admin-stat-card.blue {
    background: #0f75b8;
}

.admin-stat-card.green {
    background: #16a56c;
}

.admin-stat-card.orange {
    background: #f59f22;
}

.admin-stat-card.red {
    background: #d94848;
}

.admin-box {
    margin-bottom: 26px;
    padding: 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #dfe8f1;
    box-shadow: 0 18px 40px rgba(24, 49, 73, 0.08);
    overflow-x: auto;
}

.admin-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.admin-box-header span {
    color: #0f75b8;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 12px;
}

.admin-box-header h2 {
    margin-bottom: 0;
}

.admin-primary-btn,
.admin-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.admin-primary-btn {
    background: #0f75b8;
    color: #fff;
}

.admin-secondary-btn {
    margin-top: 18px;
    background: #e8f3fb;
    color: #0d4b74;
}

.btn-disabled {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.admin-module-card {
    padding: 22px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid #dfe8f1;
    box-shadow: 0 14px 32px rgba(24, 49, 73, 0.07);
}

.admin-module-card h3 {
    margin-bottom: 10px;
}

.admin-placeholder-chart {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #cbd8e4;
    border-radius: 18px;
    background: linear-gradient(135deg, #f7fbff 0%, #eef5fb 100%);
    color: #5d7184;
    font-weight: 800;
    text-align: center;
    padding: 24px;
}

@media (max-width: 900px) {
    .hero-grid,
    .inner-hero-grid,
    .card-grid,
    .footer-grid,
    .split-grid,
    .about-split,
    .admin-panel-grid {
        grid-template-columns: 1fr;
    }

    .header-row {
        padding: 12px 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-sidebar {
        position: static;
        width: 100%;
    }

    .admin-shell {
        margin-left: 0;
    }

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

    .admin-stat-grid,
    .admin-module-grid,
    .content-page-picker,
    .contact-grid,
    .contact-admin-grid {
        grid-template-columns: 1fr;
    }

    .home-block-grid {
        grid-template-columns: 1fr;
    }

    .admin-slider-item {
        grid-template-columns: 1fr;
    }

    .hero-slider-layout {
        grid-template-columns: 1fr;
    }

    .hero-slider-card {
        min-height: 240px;
    }
}
