.rr-visum-container { max-width: 800px; margin: 0 auto; background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); box-sizing: border-box; }
.rr-visum-container h3 { margin-top: 0; margin-bottom: 20px; font-size: 20px; border-bottom: 2px solid #0073aa; padding-bottom: 8px; }
.rr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rr-field { display: flex; flex-direction: column; margin-bottom: 15px; box-sizing: border-box; }
.rr-field.full-width { grid-column: span 2; }
.rr-field label { font-weight: 600; margin-bottom: 8px; font-size: 14px; color: #333; line-height: 1.3; }
.rr-field input, .rr-field select { padding: 10px 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; width: 100%; box-sizing: border-box; }
.rr-conditional-box { margin-top: 15px; margin-bottom: 20px; padding: 18px; background: #f9f9f9; border-left: 4px solid #0073aa; border-radius: 0 4px 4px 0; box-sizing: border-box; }
.btn-next, .btn-submit { background: #0073aa; color: white; padding: 12px 24px; border: none; border-radius: 4px; cursor: pointer; float: right; font-weight: bold; font-size: 15px; transition: background 0.2s; }
.btn-prev { background: #6c757d; color: white; padding: 12px 24px; border: none; border-radius: 4px; cursor: pointer; float: left; font-weight: bold; font-size: 15px; }
.btn-add { background: #28a745; color: white; padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; margin-top: 10px; font-weight: bold; }
.rr-nav-btns { overflow: hidden; margin-top: 25px; }

/* МОБИЛЬНАЯ АДАПТАЦИЯ (ЭКРАНЫ ДО 768px) */
@media (max-width: 768px) {
    .rr-visum-container { padding: 15px; }
    .rr-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
    .rr-field.full-width { grid-column: span 1 !important; }
    .rr-conditional-box { padding: 12px; }
    
    /* Динамические строки (гражданства, родственники, страны) в 1 колонку */
    .rr-dynamic-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        background: #fff;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        margin-bottom: 12px !important;
    }
    
    .rr-dynamic-row input, .rr-dynamic-row select {
        width: 100% !important;
        flex: none !important;
    }
    
    .rr-dynamic-row .btn-remove {
        width: 100% !important;
        margin-top: 5px;
    }
    
    .btn-next, .btn-submit, .btn-prev {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
}