
.generator-js-skript-yandex-goal {} 
  #generator-js-skript-yandex-goal {padding-bottom: 50px;}
  .generator-js-skript-yandex-goal #promo-wrap { height: auto; padding-top: 5%;}

  #container {position:relative;background-color: #fff; height: auto;margin-bottom:0px; padding-bottom:30px;}
    #container-wrap{max-width:80%;margin:0px auto;position:relative;padding-bottom: 50px;}
	
        .generator-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        

        
        .subtitle {
            text-align: center;
            opacity: 0.9;
            font-size: 1.1rem;
        }
        
        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
        }
        
        @media (max-width: 768px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }
        
        .config-section, .preview-section {
            background: white;
            padding: 1.5rem;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        
        h2 {
            color: #4a5568;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #e2e8f0;
        }
        
        .section-group {
            margin-bottom: 2rem;
        }
        
        .section-title {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            color: #2d3748;
        }
        
        .section-title i {
            margin-right: 10px;
            color: #667eea;
        }
        
        .checkbox-group {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        
        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            background: #f7fafc;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            transition: all 0.3s ease;
        }
        
        .checkbox-item:hover {
            background: #edf2f7;
        }
        
        .generator-container .checkbox-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
        }
        
        .form-group {
            margin-bottom: 1rem;
        }
        
        .generator-container label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #4a5568;
        }
        
        .generator-container select, .generator-container input[type="number"], .generator-container input[type="text"], .generator-container textarea {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
			box-sizing: border-box;
        }
        
        .generator-container select:focus, .generator-container input:focus, .generator-container textarea:focus {
            outline: none;
            border-color: #667eea;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }
        
         .generator-containertextarea {
            min-height: 100px;
            font-family: monospace;
            resize: vertical;
        }
        
        .generator-container .buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            flex-wrap: wrap;
        }
        
        .generator-container button {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 5px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .btn-primary {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
        }
        
        .btn-secondary {
            background: #edf2f7;
            color: #4a5568;
        }
        
        .btn-success {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            color: white;
        }
        
        .btn-danger {
            background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
            color: white;
        }
        
        .btn-warning {
            background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
            color: white;
        }
        
        .btn-info {
            background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
            color: white;
        }
        
        .generator-container button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .generator-container button:active {
            transform: translateY(0);
        }
        
        .config-management {
            background: #f7fafc;
            padding: 1rem;
            border-radius: 5px;
            margin-top: 2rem;
        }
        
        .config-list {
            max-height: 200px;
            overflow-y: auto;
            margin-top: 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 5px;
            background: white;
        }
        
        .config-item {
            padding: 0.75rem;
            border-bottom: 1px solid #e2e8f0;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .config-item:hover {
            background: #edf2f7;
        }
        
        .config-item:last-child {
            border-bottom: none;
        }
        
        .config-name {
            font-weight: 500;
            color: #2d3748;
        }
        
        .config-date {
            font-size: 0.875rem;
            color: #718096;
        }
        
        .preview-section textarea {
            min-height: 400px;
            background: #2d3748;
            color: #e2e8f0;
            border: 1px solid #4a5568;
        }
        
        .highlight {
            background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(102,126,234,0.1) 100%);
            padding: 0.25rem 0.5rem;
            border-radius: 3px;
            font-weight: 500;
        }
        
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 1rem 1.5rem;
            border-radius: 5px;
            color: white;
            font-weight: 500;
            transform: translateX(150%);
            transition: transform 0.3s ease;
            z-index: 1000;
        }
        
        .notification.show {
            transform: translateX(0);
        }
        
        .notification.success {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
        }
        
        .notification.error {
            background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
        }
        
        .notification.info {
            background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
        }
        
        .notification.warning {
            background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
        }
        
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
        }
        
        .modal.show {
            display: flex;
        }
        
        .modal-content {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        
        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .modal-title {
            font-size: 1.5rem;
            color: #2d3748;
        }
        
        .modal-close {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #718096;
        }
        
        .modal-close:hover {
            color: #4a5568;
        }
        
        .generator-container footer {
            margin-top: 3rem;
            text-align: center;
            color: #718096;
            font-size: 0.875rem;
            padding: 1rem;
        }
        
        .instructions {
            background: #f7fafc;
            padding: 1rem;
            border-radius: 5px;
            margin-top: 1rem;
            font-size: 0.875rem;
            color: #4a5568;
        }
        
        .instructions ul {
            padding-left: 1.5rem;
            margin-top: 0.5rem;
        }
        
        .instructions li {
            margin-bottom: 0.25rem;
        }
        
        .import-export-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        
        .file-input-wrapper {
            position: relative;
            overflow: hidden;
            display: inline-block;
        }
        
        .file-input-wrapper input[type="file"] {
            position: absolute;
            left: 0;
            top: 0;
            opacity: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }