      :root {
            --primary-color: #3498db;
            --success-color: #2ecc71;
            --warning-color: #f39c12;
            --danger-color: #e74c3c;
            --dark-color: #2c3e50;
            --light-color: #ecf0f1;
        }
        

        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
            overflow: hidden;
			margin-bottom: 60px;
        }

        
        .description {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .tabs {
            display: flex;
            background: var(--dark-color);
            overflow-x: auto;
        }
        
        .tab {
            padding: 15px 25px;
            color: white;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            border-bottom: 3px solid transparent;
        }
        
        .tab:hover {
            background: rgba(255,255,255,0.1);
        }
        
        .tab.active {
            background: rgba(255,255,255,0.15);
            border-bottom-color: var(--primary-color);
        }
        
        .tab-content {
            display: none;
            padding: 30px;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .section-title {
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--light-color);
            color: var(--dark-color);
        }
        
        .input-group {
            margin-bottom: 30px;
        }
        
        .input-row {
            display: flex;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .input-field {
            flex: 1;
        }
        
        .raschet-finmodeli-roi .container  label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--dark-color);
        }
        
		.raschet-finmodeli-roi .container input, .raschet-finmodeli-roi .container  select {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border 0.3s;
			box-sizing: border-box;
        }
        
        .raschet-finmodeli-roi .container  input:focus, .raschet-finmodeli-roi .container  select:focus {
            border-color: var(--primary-color);
            outline: none;
        }
        
        .field-description {
            font-size: 0.85rem;
            color: #666;
            margin-top: 5px;
        }
        
        .btn {
            padding: 12px 20px;
            background: var(--primary-color);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background 0.3s;
        }
        
        .btn:hover {
            background: #2980b9;
        }
        
        .btn-success {
            background: var(--success-color);
        }
        
        .btn-success:hover {
            background: #27ae60;
        }
        
        .btn-danger {
            background: var(--danger-color);
        }
        
        .btn-danger:hover {
            background: #c0392b;
        }
        
        .btn-info {
            background: #17a2b8;
        }
        
        .btn-info:hover {
            background: #138496;
        }
        
        .info-icon {
            display: inline-block;
            width: 18px;
            height: 18px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-align: center;
            line-height: 18px;
            font-size: 0.8rem;
            cursor: help;
            margin-left: 5px;
        }
        .direction-list,
		.expense-list {
            margin-top: 20px;
		}
        .direction-item, .expense-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 10px;
            background: #f9f9f9;
        }
        
        .monthly-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .monthly-input {
            display: flex;
            flex-direction: column;
        }
        
        .monthly-input label {
            font-size: 0.9rem;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .info-message {
            background: #e3f2fd;
            border-left: 4px solid var(--primary-color);
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        
        .results {
            padding: 20px 0;
        }
        
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
		
        .result-card {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            border-left: 4px solid var(--primary-color);
        }
        
        .result-label {
            font-size: 0.9rem;
            color: #666;
            margin-bottom: 8px;
        }
        
        .result-value {
            font-size: 1.4rem;
            font-weight: bold;
            color: var(--dark-color);
        }
        #results-table-scroll {overflow-x:scroll;}
        .raschet-finmodeli-roi .container  table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        
        .raschet-finmodeli-roi .container th, .raschet-finmodeli-roi .container td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e0e0e0;
        }
		.raschet-finmodeli-roi .container #results-table td {
            text-align: right;
        }
		.raschet-finmodeli-roi .container #results-table td.month {
            text-align: left;
        }
        
        .raschet-finmodeli-roi .container th {
            background: var(--dark-color);
            color: white;
            font-weight: 600;
        }
        .raschet-finmodeli-roi .container .result-card .result-label span,
        .raschet-finmodeli-roi .container th span {
			display:block;
			color:#ccc;
			font-size:12px;
            font-weight: 600;
        }
        
        .raschet-finmodeli-roi .container tr:hover {
            background: #f5f5f5;
        }
        
        .expenses-breakdown {
            margin: 30px 0;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
        }
        
        .parameters-check {
            margin: 30px 0;
            padding: 20px;
            background: #fff3cd;
            border-radius: 8px;
            border-left: 4px solid #ffc107;
        }
        
        .parameters-table {
            margin-top: 15px;
        }
        
        .parameters-table th {
            background: #17a2b8;
        }
        
        .category-row {
            background: #e8f4fd;
            font-weight: 600;
        }
        
        .category-row td {
            border-bottom: 2px solid var(--primary-color);
        }
        
        .item-row {
            background: white;
        }
        
        .item-row:hover {
            background: #f5f5f5;
        }
        
        .calculation-steps {
            margin: 20px 0;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #28a745;
        }
        
        @media (max-width: 768px) {
            .input-row {
                flex-direction: column;
                gap: 15px;
            }
            
            .monthly-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .result-grid {
                grid-template-columns: 1fr;
            }
            
            table {
                font-size: 0.9rem;
            }
            
            th, td {
                padding: 8px 10px;
            }
        }