/* AI Generator Form Styles */
.arg-form-wrapper { max-width: 600px; margin: 20px auto; padding: 30px; background-color: #f9f9f9; border-radius: 8px; border: 1px solid #e1e1e1; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.ai-referat-form .form-row { margin-bottom: 20px; }
.ai-referat-form label { display: block; font-weight: 600; margin-bottom: 8px; color: #333; font-size: 14px; }

/* Общие стили для всех полей, включая нативный SELECT */
.ai-referat-form input[type="text"], 
.ai-referat-form input[type="email"], 
.ai-referat-form input[type="tel"], 
.ai-referat-form input[type="number"], 
.ai-referat-form select { 
    width: 100%; 
    height: 47px;
    padding: 0 12px; 
    border-radius: 5px; 
    border: 1px solid #ccc; 
    box-sizing: border-box; 
    transition: border-color 0.3s; 
    font-size: 16px;
    background-color: #fff;
}

.ai-referat-form input:focus, 
.ai-referat-form select:focus { 
    border-color: #0073aa; 
    outline: none; 
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2); 
}

.ai-referat-form .form-row-checkbox { display: flex; align-items: center; }
.ai-referat-form .form-row-checkbox input { margin-right: 10px; width: auto; height: auto; }
.ai-referat-form .form-row-checkbox label { margin-bottom: 0; font-weight: normal; }

/* Стили ТОЛЬКО для SELECT, чтобы добавить кастомную стрелку */
.ai-referat-form select {
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 12px auto;
    padding-right: 40px;
}

/* Остальные стили */
.arg-submit-button { width: 100%; padding: 15px; font-size: 16px; font-weight: 700; color: #fff; background-color: #0073aa; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s, transform 0.1s; }
.arg-submit-button:hover { background-color: #005a87; }
.arg-form-result { margin-top: 20px; padding: 20px; border-radius: 5px; background-color: #eaf5ff; border-left: 5px solid #0073aa; }

.bonus-offer { background-color: #eaf5ff; border: 1px dashed #0073aa; border-radius: 5px; padding: 15px; display: flex; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.bonus-offer label { margin: 0; font-weight: bold; }
.bonus-offer input { width: auto; margin-right: 10px; }
.bonus-offer .timer { margin-left: auto; font-size: 13px; font-weight: bold; color: #d9534f; background: #fff; padding: 3px 8px; border-radius: 4px; }

/* Стили для встраиваемой страницы */
body.embed-body { background: transparent; }
.embed-container { padding: 10px; }
.embed-container .arg-form-wrapper { margin: 0; box-shadow: none; border: none; }