.adrreg-search {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1f2937;
}

.adrreg-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
}

.adrreg-input-wrap {
    position: relative;
}

.adrreg-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid #c5c9d0;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.adrreg-input:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, .18);
}

.adrreg-results {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 4px;
    list-style: none;
    background: #fff;
    border: 1px solid #d6d9de;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    max-height: 320px;
    overflow-y: auto;
}

.adrreg-result {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.adrreg-result:hover,
.adrreg-result.is-active {
    background: #eef4fb;
}

.adrreg-result-main {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.adrreg-empty {
    color: #6b7280;
    cursor: default;
    padding: 10px 12px;
}

/* === STATUS-KORT === */

.adrreg-loading,
.adrreg-error {
    padding: 24px;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
}

.adrreg-loading {
    color: #6b7280;
    background: #f6f8fb;
    border: 1px solid #e3e7ee;
}

.adrreg-error {
    color: #7a1f1f;
    background: #fde2e2;
    border: 1px solid #f5b5b5;
}

.adrreg-card {
    padding: 32px 24px 24px;
    border-radius: 12px;
    border: 1px solid transparent;
    text-align: center;
}

.adrreg-card-klar {
    background: #ecfdf3;
    border-color: #b6e7c5;
    color: #15532b;
}

.adrreg-card-kommer {
    background: #fff8e6;
    border-color: #f0d59a;
    color: #6e4e00;
}

.adrreg-card-not {
    background: #fdecec;
    border-color: #f0b5b5;
    color: #6f1818;
}

.adrreg-card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    opacity: .85;
}

.adrreg-card-status {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 8px;
}

.adrreg-card-address {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 2px;
}

.adrreg-card-place {
    font-size: 14px;
    opacity: .8;
}

.adrreg-card-btn {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px 16px;
    border: 1px solid #c5c9d0;
    background: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: #1f2937;
    transition: background .15s, border-color .15s;
}

.adrreg-card-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #6b7280;
}

.adrreg-card-btn-reset {
    color: #2271b1;
}

.adrreg-card-btn-add {
    color: #2271b1;
    border-color: #b7d6ec;
}

.adrreg-card-btn-add:hover:not(:disabled) {
    background: #eef4fb;
    border-color: #2271b1;
}

.adrreg-card-btn.adrreg-added {
    background: #d6f5d6;
    color: #1e5e1e;
    border-color: #4a8;
}

/* === KONTAKTSKJEMA === */

.adrreg-inquiry {
    margin-top: 20px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e3e7ee;
    border-radius: 10px;
}

.adrreg-inquiry-title {
    margin: 0 0 4px;
    font-size: 17px;
    font-weight: 600;
}

.adrreg-inquiry-desc {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6b7280;
}

.adrreg-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adrreg-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.adrreg-field label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
}

.adrreg-field input,
.adrreg-field textarea {
    padding: 10px 12px;
    font-size: 15px;
    font-family: inherit;
    border: 1px solid #c5c9d0;
    border-radius: 6px;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.adrreg-field input:focus,
.adrreg-field textarea:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, .15);
}

.adrreg-field textarea {
    resize: vertical;
    min-height: 70px;
}

.adrreg-inquiry-submit {
    margin-top: 4px;
    padding: 12px 20px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s;
}

.adrreg-inquiry-submit:hover:not(:disabled) {
    background: #185a8f;
}

.adrreg-inquiry-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.adrreg-inquiry-feedback {
    font-size: 13px;
    min-height: 18px;
}

.adrreg-inquiry-error {
    color: #b42424;
}

.adrreg-inquiry-thanks {
    text-align: center;
    padding: 12px 0;
}

.adrreg-thanks-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: #d6f5d6;
    color: #1e5e1e;
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
}

.adrreg-inquiry-thanks h3 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 600;
    color: #15532b;
}

.adrreg-inquiry-thanks p {
    margin: 0;
    color: #4b5563;
    font-size: 14px;
}
