.calculator-container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 20px;
            font-family: 'Segoe UI', Arial, sans-serif;
            background: #f8f9fa;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        
        .header {
            background: linear-gradient(135deg, #1e88e5, #1565c0);
            color: white;
            padding: 20px;
            text-align: center;
            border-radius: 12px;
            margin-bottom: 25px;
            position: relative;
            overflow: hidden;
        }
        
        .header::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shimmer 3s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }
        
        .header h1 {
            font-size: 28px;
            margin-bottom: 8px;
            position: relative;
            z-index: 1;
        }
        
        .header p {
            font-size: 14px;
            opacity: 0.9;
            position: relative;
            z-index: 1;
        }
        
        .section {
            background: white;
            margin-bottom: 20px;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .section:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
        }
        
        .section-header {
            padding: 15px 25px;
            font-weight: bold;
            color: white;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 16px;
        }
        
        .section-1 .section-header { background: linear-gradient(135deg, #ff9800, #f57c00); }
        .section-2 .section-header { background: linear-gradient(135deg, #2196f3, #1976d2); }
        .section-3 .section-header { background: linear-gradient(135deg, #00bcd4, #0097a7); }
        .section-4 .section-header { background: linear-gradient(135deg, #ff5722, #d84315); }
        .section-5 .section-header { background: linear-gradient(135deg, #9c27b0, #7b1fa2); }
        .section-target .section-header { background: linear-gradient(135deg, #4caf50, #388e3c); }
        .section-solution .section-header { background: linear-gradient(135deg, #e91e63, #c2185b); }
        .section-result .section-header { background: linear-gradient(135deg, #f44336, #d32f2f); }
        
        .section-content {
            padding: 25px;
        }
        
        .input-group {
            display: flex;
            align-items: center;
            margin-bottom: 18px;
            gap: 15px;
        }
        
        .input-label {
            min-width: 180px;
            font-weight: 600;
            color: #333;
        }
        
        .input-field {
            padding: 10px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 8px;
            font-size: 14px;
            width: 120px;
            text-align: center;
            transition: border-color 0.3s ease, box-shadow 0.3s ease;
        }
        
        .input-field:focus {
            outline: none;
            border-color: #2196f3;
            box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
        }
        
        .unit {
            color: #666;
            font-size: 13px;
            font-weight: 500;
        }
        
        .selection-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 15px;
        }
        
        .selection-item {
            display: flex;
            align-items: center;
            padding: 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            background: #fafafa;
        }
        
        .selection-item:hover {
            border-color: #2196f3;
            background: #f0f8ff;
            transform: translateY(-1px);
        }
        
        .selection-item.selected {
            border-color: #2196f3;
            background: #e3f2fd;
            box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
        }
        
        .selection-visual {
            width: 70px;
            height: 40px;
            margin-right: 18px;
            border: 2px solid #333;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: bold;
            border-radius: 6px;
        }
        
        .selection-info {
            flex: 1;
        }
        
        .selection-value {
            font-weight: bold;
            color: #2196f3;
            margin-left: 12px;
            font-size: 15px;
        }
        
        .material-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 12px;
        }
        
        .material-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 20px;
            background: #fff3e0; 
            border-left: 4px solid #ff9800;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .material-item:hover {
            background: #ffe0b2;
            transform: translateX(5px);
        }
        
        .material-item.selected {
            background: #ffb74d; 
            border-left-color: #f57c00;
            box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
        }
        
        .power-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
            gap: 15px;
        }
        
        .power-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            background: #f8f9fa;
            border: 1px solid #dee2e6;
            border-radius: 8px;
        }
        .power-item span:first-child { flex-grow: 1; }
        
        .calculate-btn {
            background: linear-gradient(135deg, #2196f3, #1976d2);
            color: white;
            border: none;
            padding: 18px 40px;
            border-radius: 10px;
            font-size: 18px;
            font-weight: bold;
            cursor: pointer;
            margin: 30px auto;
            display: block;
            min-width: 280px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .calculate-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 25px rgba(33, 150, 243, 0.4);
        }
        
        .calculate-btn:active {
            transform: translateY(-1px);
        }
        
        .result-display {
            text-align: center;
            padding: 40px;
            background: linear-gradient(135deg, #f44336, #c62828); 
            color: white;
            border-radius: 12px;
            margin: 25px 0;
            position: relative;
            overflow: hidden;
        }
        
        .result-display::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
            animation: slide 2s infinite;
        }
        
        @keyframes slide {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        .result-value {
            font-size: 52px;
            font-weight: bold;
            margin: 15px 0;
            position: relative;
            z-index: 1;
        }
        
        .result-label {
            font-size: 20px;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }
        
        .result-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 25px;
            padding-top: 25px;
            border-top: 1px solid rgba(255,255,255,0.3);
            position: relative;
            z-index: 1;
        }
        
        .result-detail {
            text-align: center;
        }
        .result-detail div:first-child { font-size: 14px; opacity: 0.8; margin-bottom: 5px;}
        .result-detail div:nth-child(2) { font-size: 18px; font-weight: bold; }
        .result-detail div:last-child { font-size: 12px; opacity: 0.7;}
        
        .leipole-solution-container { 
            background: linear-gradient(135deg, #e91e63, #c2185b); 
            color: white;
            padding: 30px;
            border-radius: 12px;
            margin: 25px 0;
        }
        
        .solution-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        
        .solution-card {
            background: rgba(255,255,255,0.1);
            padding: 20px;
            border-radius: 10px;
            border: 1px solid rgba(255,255,255,0.2);
        }
        
        .solution-card h4 {
            margin-bottom: 15px;
            font-size: 18px;
        }
        
        .fan-recommendation {
            background: rgba(255,255,255,0.05);
            padding: 15px;
            border-radius: 8px;
            margin: 10px 0;
            border-left: 4px solid #fff;
        }
        .fan-recommendation p { margin-bottom: 5px; }
        .fan-recommendation strong { color: #ffeb3b; }
        
        .error-message {
            background: #ffebee;
            color: #c62828;
            padding: 18px;
            border-radius: 10px;
            margin: 15px 0;
            border-left: 4px solid #f44336;
            font-weight: bold;
        }
        
        .warning-message {
            background: #fff3e0;
            color: #ef6c00;
            padding: 18px;
            border-radius: 10px;
            margin: 15px 0;
            border-left: 4px solid #ff9800;
            font-weight: bold;
        }
        
        .success-message { 
            background: #e8f5e9;
            color: #2e7d32;
            padding: 18px;
            border-radius: 10px;
            margin: 15px 0;
            border-left: 4px solid #4caf50;
            font-weight: bold;
        }
        
        @media (max-width: 768px) {
            .calculator-container {
                margin: 10px;
                padding: 15px;
            }
            .input-group {
                flex-direction: column;
                align-items: stretch;
                gap: 10px;
            }
            .input-label {
                min-width: auto;
            }
            .selection-grid {
                grid-template-columns: 1fr;
            }
            .result-details {
                grid-template-columns: repeat(2, 1fr);
            }
            .result-value {
                font-size: 40px;
            }
            .solution-grid {
                grid-template-columns: 1fr;
            }
        }