@charset "utf-8";
/* CSS Document */

.karate-lookup-tool {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
}

.karate-lookup-tool *,
.karate-lookup-tool *::before,
.karate-lookup-tool *::after {
    box-sizing: border-box;
}

.karate-lookup-tool__inner {
    background: #ffffff;
    padding: 24px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
}

.karate-lookup-tool__title {
    margin: 0 0 10px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
}

.karate-lookup-tool__intro {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}

.karate-lookup-tool__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.karate-lookup-tool__field label {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #111111;
}

.karate-lookup-tool__input,
.karate-lookup-tool__select {
    width: 100%;
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #222222;
    border-radius: 4px;
    background: #ffffff;
    color: #111111;
    font-size: 16px;
    line-height: 1.4;
    appearance: none;
    -webkit-appearance: none;
}

.karate-lookup-tool__input:focus,
.karate-lookup-tool__select:focus {
    outline: none;
    border-color: #c62828;
    box-shadow: 0 0 0 1px #c62828;
}

.karate-lookup-tool__actions {
    margin-top: 22px;
}

.karate-lookup-tool__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 28px;
    border: 0;
    border-radius: 4px;
    background: #c62828;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.karate-lookup-tool__button:hover,
.karate-lookup-tool__button:focus {
    background: #a91f1f;
}

.karate-lookup-tool__button:active {
    transform: translateY(1px);
}

.karate-lookup-tool__result {
    margin-top: 24px;
    padding: 20px;
    border-radius: 6px;
    border: 1px solid #d9d9d9;
    background: #ffffff;
    color: #111111;
}

.karate-lookup-tool__result[hidden] {
    display: none !important;
}

.karate-lookup-tool__result--success {
    border-color: #d9d9d9;
    background: #ffffff;
}

.karate-lookup-tool__result--error {
    border-color: #c62828;
    background: #fff7f7;
}

.karate-lookup-tool__result-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.karate-lookup-tool__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.karate-lookup-tool__card {
    padding: 14px 16px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #ffffff;
}

.karate-lookup-tool__card-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #666666;
    margin-bottom: 6px;
}

.karate-lookup-tool__card-value {
    font-size: 16px;
    line-height: 1.5;
    color: #111111;
    white-space: pre-line;
}

.karate-lookup-tool__card-note {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #666666;
}

@media (max-width: 767px) {
    .karate-lookup-tool__inner {
        padding: 18px;
    }

    .karate-lookup-tool__title {
        font-size: 24px;
    }

    .karate-lookup-tool__button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .karate-lookup-tool__inner {
        padding: 16px;
    }

    .karate-lookup-tool__title {
        font-size: 22px;
    }

    .karate-lookup-tool__intro,
    .karate-lookup-tool__field label,
    .karate-lookup-tool__input,
    .karate-lookup-tool__select,
    .karate-lookup-tool__button,
    .karate-lookup-tool__card-value {
        font-size: 15px;
    }
}
