.js-amo-form-place {
    width: 100%;
    max-width: 510px;
    min-height: 80px;
}

.js-amo-form-place.is-amo-form-not-configured {
    display: none;
}

.js-amo-form-place.is-amo-form-loading::before {
    content: 'Загрузка формы...';
    display: block;
    padding: 16px;
    font-size: 14px;
    line-height: 1.4;
    color: #777;
    background: #f7f7f7;
    border-radius: 8px;
}

.js-amo-form-place.is-amo-form-loaded::before {
    display: none;
}

.js-amo-form-place iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.amo-popup {
    width: 100%;
    max-width: 560px;
    /*padding: 24px;*/
    padding: 0;
    box-sizing: border-box;
}

.amo-popup__title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.amo-popup__subtitle {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.45;
    color: #555;
}

.amo-demo-page {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #222;
    background: #f5f5f5;
}

.amo-demo-page .demo-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 16px;
}

.amo-demo-page .demo-section {
    margin: 0 0 32px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.amo-demo-page .demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.amo-demo-page .demo-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    color: #fff;
    background: #1f6feb;
    cursor: pointer;
}
