.od-phone-ads {
    --od-phone-ads-green: #207a45;
    --od-phone-ads-green-dark: #155c33;
    --od-phone-ads-border: #d7dfda;
    --od-phone-ads-text: #1d2a23;
    --od-phone-ads-muted: #5d6a63;
    color: var(--od-phone-ads-text);
    margin: 1.5rem 0;
}

.od-phone-ads__search {
    background: #fff;
    border: 1px solid var(--od-phone-ads-border);
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(25, 52, 36, 0.08);
    margin: 0 auto;
    padding: clamp(20px, 4vw, 34px);
}

.od-phone-ads__title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    line-height: 1.25;
    margin: 0 0 8px;
}

.od-phone-ads__intro {
    color: var(--od-phone-ads-muted);
    margin: 0 0 20px;
}

.od-phone-ads__form {
    align-items: stretch;
    display: flex;
    gap: 10px;
    margin: 0;
}

.od-phone-ads__number-input {
    background: #fff;
    border: 1px solid #aebbb4;
    border-radius: 7px;
    box-sizing: border-box;
    flex: 1 1 280px;
    font-size: 16px;
    min-height: 48px;
    min-width: 0;
    padding: 10px 12px;
}

.od-phone-ads__form select {
    background: #fff;
    border: 1px solid #aebbb4;
    border-radius: 7px;
    box-sizing: border-box;
    flex: 0 0 112px;
    font: inherit;
    min-height: 48px;
    padding: 10px;
}

.od-phone-ads__number-input:focus,
.od-phone-ads__form select:focus {
    border-color: var(--od-phone-ads-green);
    box-shadow: 0 0 0 3px rgba(32, 122, 69, 0.16);
    outline: 0;
}

.od-phone-ads__form button,
.od-phone-ads__create-button {
    appearance: none;
    border: 1px solid var(--od-phone-ads-green);
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    min-height: 48px;
    padding: 10px 18px;
}

.od-phone-ads__form button {
    background: var(--od-phone-ads-green);
    color: #fff;
}

.od-phone-ads__create-button {
    align-items: center;
    background: #fff;
    color: var(--od-phone-ads-green);
    display: inline-flex;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}

.od-phone-ads__form button:hover,
.od-phone-ads__form button:focus-visible,
.od-phone-ads__create-button:hover,
.od-phone-ads__create-button:focus-visible {
    background: var(--od-phone-ads-green-dark);
    border-color: var(--od-phone-ads-green-dark);
    color: #fff;
    text-decoration: none;
}

.od-phone-ads__notice {
    border: 1px solid transparent;
    border-radius: 7px;
    margin: 14px 0;
    padding: 12px 14px;
}

.od-phone-ads__notice.is-error {
    background: #fff1f0;
    border-color: #e7b5b1;
    color: #84241d;
}

.od-phone-ads__notice.is-success {
    background: #edf8f1;
    border-color: #b8ddc5;
    color: #155c33;
}

.od-phone-ads__notice.is-info {
    background: #eef5fb;
    border-color: #bad2e5;
    color: #174d73;
}

.od-phone-ads__results-summary {
    background: #f5f8f6;
    border: 1px solid var(--od-phone-ads-border);
    border-radius: 8px;
    margin: 0 0 18px;
    padding: 12px 14px;
}

.od-phone-ads__empty {
    background: #f5f8f6;
    border: 1px solid var(--od-phone-ads-border);
    border-radius: 10px;
    padding: 22px;
    text-align: center;
}

.od-phone-ads__empty p {
    margin: 0 0 14px;
}

.od-phone-ads__card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.od-phone-ads__card-actions form {
    margin: 0;
}

.od-phone-ads__card-actions .button {
    margin: 0;
}

.od-phone-ads__delete-button {
    background: #9f1c1c;
    border-color: #9f1c1c;
    color: #fff;
}

@media (max-width: 600px) {
    .od-phone-ads__form {
        flex-direction: column;
    }

    .od-phone-ads__number-input {
        flex-basis: auto;
        width: 100%;
    }

    .od-phone-ads__form select {
        flex-basis: auto;
        width: 100%;
    }

    .od-phone-ads__form button,
    .od-phone-ads__create-button {
        width: 100%;
    }
}
