

.sozdanie-check-listov-online {}

	.sozdanie-check-listov-online #promo-wrap { height: auto; padding-top: 5%;}

	#container {position:relative; max-width: 90%;background-color: #fff;margin: auto; height: auto; margin-top: 30px; margin-bottom:50px;padding-bottom:30px;}

    #container-wrap{margin:0px auto;position:relative;}

        
        .container {
            margin: 0 auto;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
        
        .sozdanie-check-listov-online .container header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eaeaea;
        }
		.controls {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 30px;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
			margin:5px;
			width:100%
        }

        .btn-primary {
            background-color: #3498db;
            color: white;
        }

        .btn-primary:hover {
            background-color: #2980b9;
        }

        .btn-success {
            background-color: #2ecc71;
            color: white;
        }

        .btn-success:hover {
            background-color: #27ae60;
        }

        .btn-warning {
            background-color: #f39c12;
            color: white;
        }

        .btn-warning:hover {
            background-color: #d35400;
        }

        .btn-danger {
            background-color: #e74c3c;
            color: white;
        }

        .btn-danger:hover {
            background-color: #c0392b;
        }

        .btn-secondary {
            background-color: #95a5a6;
            color: white;
        }

        .btn-secondary:hover {
            background-color: #7f8c8d;
        }

        .btn-sm {
            padding: 6px 12px;
            font-size: 0.9rem;
        }

        .checklists-container {
            display: grid;
          
            gap: 25px;
        }

        .checklist {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: transform 0.3s ease;
            display: flex;
            flex-direction: column;
        }


        .checklist-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .checklist-title {
            font-size: 1.4rem;
            color: #2c3e50;
            font-weight: 700;
        }

        .checklist-controls {
            display: flex;
            gap: 8px;
        }

        .checklist-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;
            background-color: #f8f9fa;
            padding: 10px;
            border-radius: 6px;
            font-size: 0.9rem;
        }

        .stat-item {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .stat-value {
            font-weight: 700;
            font-size: 1.1rem;
        }

        .stat-label {
            color: #7f8c8d;
            font-size: 0.8rem;
        }

        .items-container {
            margin-bottom: 20px;
            flex-grow: 1;
        }

        .item {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 12px;
            border-left: 4px solid #3498db;
        }

        .item.completed {
            border-left-color: #2ecc71;
            background-color: #f0f9f0;
        }

        .item.running {
            border-left-color: #f39c12;
            background-color: #fef9e7;
        }

        .item.overdue {
            border-left-color: #e74c3c;
        }

        .item-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }

        .item-title {
            font-weight: 600;
            font-size: 1.1rem;
        }

        .item-time {
            font-weight: 600;
            color: #2c3e50;
        }

        .item-description {
            color: #666;
            font-size: 0.9rem;
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .item-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 10px;
        }

        .item-status {
            font-size: 0.85rem;
            padding: 4px 10px;
            border-radius: 20px;
            background-color: #d7dfe1;
			color: #6a6e6f;
        }

        .item-status.running {
            background-color: #fbdd70;
			color: #513100;
        }

        .item-status.completed {
            background-color: #95f765;
			color: #373737;
        }

        .item-status.overdue {
            background-color: #fbeeee;
            color: #e74c3c;
        }

        .add-item-form {
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            border: 2px dashed #3498db;
            display: none; /* Скрыта по умолчанию */
        }

        .add-item-form.visible {
            display: block;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #2c3e50;
        }

        .form-control {
            width: 100%;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 1rem;
			margin:4px;			
			box-sizing: border-box;
        }

        .form-control:focus {
            outline: none;
            border-color: #3498db;
        }

        .add-checklist-form {
            background: white;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        }

        .form-row {
            display: flex;
            gap: 15px;
            align-items: flex-end;
        }

        .form-row .form-group {
            flex: 1;
            margin-bottom: 0;
        }

        .timer-display {
            font-family: monospace;
            font-size: 1.1rem;
            font-weight: bold;
        }

        .time-exceeded {
            color: #e74c3c;
        }

        .alert {
            padding: 12px 20px;
            border-radius: 6px;
            margin-bottom: 20px;
            display: none;
        }

        .alert-success {
            background-color: #d5edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

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

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .modal-title {
            margin-bottom: 20px;
            color: #2c3e50;
            text-align: center;
        }

        .toggle-add-item-btn {
            width: 100%;
            margin-bottom: 15px;
            background-color: #f8f9fa;
            border: 2px dashed #3498db;
            color: #3498db;
			margin: 0px 0px 10px 0px;
        }

        .toggle-add-item-btn:hover {
            background-color: #e3f2fd;
        }

        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
            }
            
            .checklists-container {
                grid-template-columns: 1fr;
            }
            
            .btn {
                width: 100%;
                justify-content: center;
            }
            
            .form-row {
                flex-direction: column;
            }
        }