/* Стили для модального окна "Купить в 1 клик" */

.one-click-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.one-click-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}

.one-click-modal__content {
    position: relative;
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 420px;
    z-index: 1001;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.one-click-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.one-click-modal__title {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 15px;
}

.one-click-modal__description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.one-click-modal__form-group {
    margin-bottom: 20px;
}

.one-click-modal__form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    text-align: center;
}

.one-click-modal__submit {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: #007bff;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.one-click-modal__submit:hover {
    background-color: #0056b3;
}

.one-click-modal__message {
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.one-click-modal__message--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.one-click-modal__message--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    -webkit-clip-path: inset(50%);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}