﻿.local-page {
    background: #ffffff;
    padding: 32px 0 70px;
    font-family: 'Poppins', sans-serif;
}

.local-container {
    width: min(94%, 1420px);
    margin: 0 auto;
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 46px;
}

.step {
    color: #0b1f4d;
    font-size: 1rem;
    font-weight: 800;
    padding-bottom: 17px;
    border-bottom: 4px solid #e5eaf1;
}

    .step.active {
        color: #f97316;
        border-bottom-color: #f97316;
    }

.local-heading {
    margin-bottom: 30px;
}

    .local-heading h1 {
        color: #0b1f4d;
        font-size: clamp(2.6rem, 5vw, 4.4rem);
        font-weight: 800;
        letter-spacing: -0.055em;
        margin: 0 0 8px;
    }

    .local-heading p {
        color: #53647f;
        font-size: 1.1rem;
        max-width: 720px;
        line-height: 1.7;
        margin: 0;
    }

.local-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 500px;
    gap: 32px;
    align-items: start;
}

.local-main {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.local-card,
.estimate-card {
    background: #ffffff;
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.04);
}

.local-card {
    padding: 28px;
}

.card-header,
.estimate-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon,
.estimate-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 12px;
    background: #f1f6ff;
    color: #0b1f4d;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .section-icon svg,
    .estimate-icon svg {
        width: 28px;
        height: 28px;
    }

.card-header h2,
.estimate-header h3 {
    color: #0b1f4d;
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
}

.card-header p,
.estimate-header p {
    color: #53647f;
    margin: 4px 0 0;
}

.card-divider {
    height: 1px;
    background: #e5eaf1;
    margin: 24px 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: #0b1f4d;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    min-height: 58px;
    border: 1px solid #d8e0ea;
    border-radius: 9px;
    color: #0b1f4d;
    background: white;
    font-size: 1rem;
    padding: 0 16px;
}

textarea.form-control {
    min-height: 130px;
    padding-top: 16px;
    resize: vertical;
}

.form-control:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 0.18rem rgba(249, 115, 22, 0.14);
}

.checkbox-area {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.checkbox-card {
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    cursor: pointer;
    transition: 0.2s ease;
}

    .checkbox-card:hover {
        border-color: #f97316;
        background: #fff7ed;
    }

    .checkbox-card input {
        margin-top: 5px;
    }

.validation-box {
    background: #fee2e2;
    color: #991b1b;
    padding: 14px 18px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #fecaca;
}

    .validation-box ul {
        margin: 0;
        padding-left: 18px;
    }

    .validation-box:empty {
        display: none;
    }

    .checkbox-card strong {
        display: block;
        color: #0b1f4d;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .checkbox-card span {
        color: #53647f;
        font-size: 0.93rem;
        line-height: 1.5;
    }

.local-sidebar {
    min-width: 0;
}

.estimate-card {
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.estimate-header {
    background: #06224b;
    color: white;
    padding: 28px;
}

.estimate-icon {
    background: rgba(249, 115, 22, 0.16);
    color: #f97316;
}

.estimate-header h3 {
    color: white;
}

.estimate-header p {
    color: rgba(255,255,255,0.84);
}

.estimate-list {
    padding: 28px;
    display: grid;
    gap: 18px;
}

    .estimate-list div {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        border-bottom: 1px solid #e5eaf1;
        padding-bottom: 16px;
    }

        .estimate-list div:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .estimate-list span {
        color: #53647f;
    }

    .estimate-list strong {
        color: #0b1f4d;
        font-weight: 800;
        text-align: right;
    }

.deposit-box {
    display: flex;
    gap: 16px;
    align-items: center;
    margin: 0 28px 24px;
    padding: 18px;
    background: #f4f7fb;
    border-radius: 12px;
}

.deposit-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #0b1f4d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .deposit-icon svg {
        width: 28px;
        height: 28px;
    }

.deposit-box strong {
    color: #0b1f4d;
    font-weight: 800;
}

.deposit-box p {
    color: #53647f;
    margin: 4px 0 0;
    line-height: 1.5;
}

.continue-button {
    width: calc(100% - 56px);
    min-height: 58px;
    margin: 0 28px 16px;
    border: none;
    border-radius: 8px;
    background: #f97316;
    color: white;
    font-size: 1.08rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.2s ease;
}

    .continue-button:hover {
        background: #ea580c;
    }

.secure-note {
    color: #53647f;
    font-size: 0.9rem;
    text-align: center;
    margin: 0 28px 28px;
}

    .secure-note svg {
        width: 16px;
        height: 16px;
        vertical-align: -3px;
    }

.text-danger {
    display: block;
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 6px;
}

@media (max-width: 1200px) {
    .local-layout {
        grid-template-columns: 1fr;
    }

    .estimate-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .checkout-steps,
    .form-grid,
    .checkbox-area {
        grid-template-columns: 1fr;
    }

    .local-card {
        padding: 22px;
    }

    .estimate-list div {
        flex-direction: column;
    }

    .estimate-list strong {
        text-align: left;
    }
}
