/* ── Container ── */
.kl-address-search {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    font-family: 'PT Sans', sans-serif;
}

/* ── Input row ── */
.kl-search-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid #018c45;
    border-radius: 50px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(1, 140, 69, 0.12);
}

.kl-search-input-wrap input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    color: #1a1a1a;
    min-width: 0;
}

.kl-search-input-wrap input[type="text"]::placeholder {
    color: #999;
}

.kl-search-input-wrap button {
    flex-shrink: 0;
    background: #018c45;
    color: #fff;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: background 0.15s;
    white-space: nowrap;
}

.kl-search-input-wrap button:hover {
    background: #016a34;
}

/* ── Dropdown ── */
.kl-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #d8eee4;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    overflow-y: auto;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 9999;
}

.kl-search-dropdown li {
    padding: 10px 18px;
    cursor: pointer;
    font-size: 0.93rem;
    color: #222;
    transition: background 0.1s;
    line-height: 1.4;
}

.kl-search-dropdown li:hover,
.kl-search-dropdown li.kl-active {
    background: #f0f9f4;
    color: #018c45;
}

/* ── Result card ── */
.kl-result-card {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 22px;
    border-radius: 12px;
    border-left: 5px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.kl-result-success {
    background: #f0f9f4;
    border-left-color: #018c45;
}

.kl-result-miss {
    background: #fff8f0;
    border-left-color: #e67e22;
}

.kl-result-icon {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    padding-top: 2px;
}

.kl-result-body {
    flex: 1;
}

.kl-result-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    color: #1a1a1a;
    line-height: 1.4;
}

.kl-result-net {
    margin: 0 0 14px;
    font-size: 0.9rem;
    color: #555;
}

.kl-result-body > p:last-of-type {
    margin: 0 0 14px;
    font-size: 0.93rem;
    color: #555;
}

/* ── Buttons ── */
.kl-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.kl-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 8px;
    font-family: 'PT Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.kl-btn-primary {
    background: #018c45;
    color: #fff;
    border: 2px solid #018c45;
}

.kl-btn-primary:hover {
    background: #016a34;
    border-color: #016a34;
    color: #fff;
}

.kl-btn-secondary {
    background: transparent;
    color: #018c45;
    border: 2px solid #018c45;
}

.kl-btn-secondary:hover {
    background: #018c45;
    color: #fff;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .kl-search-input-wrap button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .kl-result-card {
        flex-direction: column;
        gap: 8px;
    }

    .kl-btn {
        width: 100%;
        text-align: center;
    }
}
