﻿
/* transport */
.transport-wrap {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.transport-left {
    flex: 1;
    min-width: 260px;
    /* max-width: 520px; */
}

.transport-right {
    flex: 1;
    min-width: 260px;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 24px;
}

.transport-field {
    margin-bottom: 10px;
    font-size: 14px;
}

    .transport-field label {
        display: block;
        font-size: 13px;
        color: var(--muted);
        margin-bottom: 2px;
    }

    .transport-field input,
    .transport-field select {
        width: 100%;
        height: 40px;
        border-radius: 10px;
        border: 1px solid var(--border);
        padding: 0 10px;
        font-family: var(--font);
        font-size: 14px;
    }

.transport-btn {
    margin-top: 4px;
    width: 100%;
    height: 42px;
    border-radius: 10px;
    border: none;
    background: var(--accent);
    color: #fff;
    cursor: pointer;
    font-size: 15px;
}

.transport-result {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border-radius: 10px;
    background: #f3f3f3;
    font-size: 14px;
    color: #555;
    filter: blur(4px);
}

.transport-unlock {
    display: none;
    margin-top: 8px;
    font-size: 14px;
}

/* testimonials */
.testi-strip {
    display: flex;
    transition: 0.4s ease;
}

.testi-slide {
    min-width: 100%;
    padding-right: 20px;
}

.testi-body {
    display: flex;
    gap: 14px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #ccc;
    flex-shrink: 0;
}

.testi-stars {
    font-size: 14px;
    margin-bottom: 4px;
}

.testi-text {
    font-size: 15px;
    margin-bottom: 4px;
}

.testi-meta {
    font-size: 13px;
    color: var(--muted);
}

.testi-dots {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.testi-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #ccc;
    cursor: pointer;
}

    .testi-dot.active {
        background: #111;
    }

/* account section */
.account-box {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
}

.account-left {
    flex: 1;
    min-width: 260px;
}

.account-right {
    flex: 1;
    min-width: 260px;
}

.account-list {
    padding-left: 18px;
    font-size: 14px;
    color: var(--text);
}


/* .city-suggestions-box {
        position: absolute;
        z-index: 1000;
    }

        .city-suggestions-box ul {
            max-height: 200px;
            overflow-y: auto;
            scrollbar-width: thin; 
        }

            .city-suggestions-box ul::-webkit-scrollbar {
                width: 6px;
            }

            .city-suggestions-box ul::-webkit-scrollbar-thumb {
                background: #aaa;
                border-radius: 3px;
            }

        .city-suggestions-box li:hover {
            background: #e6f3ff;
        } */

.city-suggestions-box {
    position: absolute;
    z-index: 1000;
}

    .city-suggestions-box ul {
        max-height: 200px; /* tune this → 5 items ≈ 200-220px depending on padding/font */
        overflow-y: auto;
        scrollbar-width: thin;
    }

        .city-suggestions-box ul::-webkit-scrollbar {
            width: 6px;
        }

        .city-suggestions-box ul::-webkit-scrollbar-thumb {
            background: #aaa;
            border-radius: 3px;
        }

    .city-suggestions-box li:hover {
        background: #e6f3ff !important;
    }


.toggle-group {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.toggle {
    flex: 1;
    text-align: center;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

    .toggle:hover {
        border-color: #999;
    }

    .toggle.active {
        background: #111;
        color: #fff;
        border-color: #111;
    }

.product-type-wraper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

    .product-type-wraper.split {
        grid-template-columns: 1fr 1fr;
    }


.transport-field-wraper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.toggle-group:has(#togglePort[style*="display: none"]) #toggleAddr {
    flex: 1 1 100%;
    max-width: 100%;
}

/* Modal */
/*  .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.6);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1000;
    } */

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    color: #888;
    cursor: pointer;
}

    .modal-close:hover {
        color: #333;
    }

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ts-control {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    font-size: 13px;
}
