.kr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    z-index: 9999
}

.kr-modal.is-open {
    display: block
}

.kr-modal__dialog {
    background: #fff;
    border-radius: 16px;
    width: 90vw;
    max-width: 700px;
    margin: auto;
    padding: 24px;
    position: relative;
    top: 50%;
    transform: translate(0%, -50%);
}

.kr-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: 0;
    font-size: 24px;
    cursor: pointer
}

.kr-field {
    margin-bottom: 12px
}

.kr-field input,
.kr-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px
}

.kr-field textarea {
    min-height: 150px;
}

.kr-btn {
    padding: 10px 16px;
    border-radius: 10px;
    border: 0;
    background: #0aa2e0;
    color: #fff;
    cursor: pointer
}

.kr-modal__note {
    margin-top: 8px;
    color: #b91c1c
}

.kr-card--focus {
    outline: 3px solid #ffcc00
}

#repoResults {
    position: absolute;
    width: 100%;
    margin-top: 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    overflow: hidden
}

#repoResults .kr-sugg {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f1f2f4;
    text-decoration: none;
    color: #111
}

#repoResults .kr-sugg:last-child {
    border-bottom: 0
}

#repoResults .kr-sugg img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px
}

button.kr-btn.kr-lm-btn {
    margin: auto;
}

h3.kr-modal__title {
    text-align: center;
    margin-bottom: 20px;
}