/* === СТИЛИ МОДАЛЬНОГО ОКНА === */
.oneclick-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease-out;
}

.oneclick-modal {
    background: #fff;
    border-radius: 20px;
    width: 90%;
    max-width: 520px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.oneclick-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0 24px;
}

.oneclick-modal-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: #111827;
}

.oneclick-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #9ca3af;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.oneclick-modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.oneclick-modal-body {
    padding: 0 24px 24px 24px;
}

/* === ФОРМА === */
.oneclick-form-group {
    margin-bottom: 16px;
}
.oneclick-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}
.oneclick-form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.oneclick-form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* === СПОСОБЫ ОПЛАТЫ И ДОСТАВКИ === */
.oneclick-options-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 24px 0 12px 0;
}

.oneclick-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 8px;
}
.oneclick-option:hover {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.03);
}
.oneclick-option.checked {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.05);
}
.oneclick-option img {
    max-height: 28px;
    flex-shrink: 0;
}
.oneclick-option-name {
    font-weight: 500;
    color: #111827;
    font-size: 15px;
}

/* === КНОПКА === */
.oneclick-submit-btn {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    transition: background 0.2s;
}
.oneclick-submit-btn:hover {
    background: #1d4ed8;
}
.oneclick-submit-btn:disabled {
    background: #93c5fd;
    cursor: not-allowed;
}

/* === ОШИБКИ === */
.oneclick-error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}