:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --current-color: #ff6d00;
            --voltage-color: #9d4edd;
            --power-color: #4cc9f0;
            --resistance-color: #38b000;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
            --danger-color: #e63946;
            --math-color: #6f42c1;
            --calc-color: #e83e8c;
        }
        .page-header {
            background: linear-gradient(135deg, rgba(255, 109, 0, 0.1) 0%, rgba(44, 125, 160, 0.4) 100%);
            padding: 1.5rem 0;
            margin-bottom: 2rem;
            border-bottom: 1px solid rgba(44, 125, 160, 0.2);
            position: relative;
            overflow: hidden; color: var(--text-color);
        }
        .breadcrumb {
            background-color: transparent;
            padding: 0.5rem 0;
            margin-bottom: 0.5rem;
        }
        .breadcrumb-item a {
            color: var(--text-muted);
            text-decoration: none;
        }
        .breadcrumb-item.active {
            color: var(--text-color);
        }
        .form-control:focus {
            border-color: var(--current-color);
            box-shadow: 0 0 0 3px rgba(255, 109, 0, 0.15);
        }
        .current-result {
            padding: 12px;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #eee;
            font-size: 1.1rem;
            margin: 10px 0;
            text-align: center;
        }
        .current-equation {
            font-size: 1.3rem;
            padding: 15px;
            background-color: rgba(255, 109, 0, 0.05);
            border-left: 4px solid var(--current-color);
            border-radius: 4px;
            margin: 15px 0;
            font-family: 'Courier New', monospace;
        }
        .current-box {
            background-color: rgba(255, 109, 0, 0.05);
            border-left: 3px solid var(--current-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            }
        .calculation-step {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px dashed var(--border-color);
        }
        .current-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .current-table th, .current-table td {
            padding: 0.75rem;
            text-align: left;
            border: 1px solid var(--border-color);
        }
        .current-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .current-table tr:nth-child(even) {
            background-color: rgba(255, 109, 0, 0.05);
        }
        .current-visualization {
            display: flex;
            align-items: center;
            margin: 1rem 0;
            padding: 1rem;
            background-color: rgba(255,255,255,0.8);
            border-radius: 6px;
            border: 1px solid var(--border-color);
        }
        .current-value {
            font-family: 'Courier New', monospace;
            background-color: rgba(255, 109, 0, 0.1);
            padding: 0.5rem;
            border-radius: 4px;
            margin: 0 0.5rem;
        }
        .current-label {
            font-weight: 600;
            margin-right: 0.5rem;
        }
        .example-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .example-btn {
            background-color: rgba(255, 109, 0, 0.1);
            border: 1px solid rgba(255, 109, 0, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--current-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .example-btn:hover {
            background-color: rgba(255, 109, 0, 0.2);
            transform: translateY(-2px);
        }
        .phase-selector {
            display: flex;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            overflow: hidden;
            margin-bottom: 1.5rem;
        }
        .phase-option {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            cursor: pointer;
            background-color: white;
            transition: all 0.3s;
        }
        .phase-option:hover {
            background-color: rgba(255, 109, 0, 0.05);
        }
        .phase-option.active {
            background-color: var(--current-color);
            color: white;
            font-weight: 600;
        }
        .pf-slider-container {
            margin: 1.5rem 0;
        }
        .pf-value {
            display: inline-block;
            min-width: 40px;
            text-align: center;
            font-weight: 600;
            color: var(--current-color);
        }
        .current-flow {
            text-align: center;
            margin: 2rem 0;
        }
        .flow-container {
            position: relative;
            width: 300px;
            height: 120px;
            margin: 0 auto;
        }
        .circuit-path {
            position: absolute;
            width: 250px;
            height: 80px;
            border: 3px solid #ddd;
            border-radius: 40px;
            top: 20px;
            left: 25px;
        }
        .current-flow-indicator {
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--current-color);
            border-radius: 50%;
            top: 50px;
            left: 30px;
            animation: flow 3s linear infinite;
        }
        @keyframes flow {
            0% { left: 30px; }
            25% { left: 130px; }
            50% { left: 230px; }
            75% { left: 130px; }
            100% { left: 30px; }
        }
        .voltage-source {
            position: absolute;
            width: 40px;
            height: 40px;
            background-color: var(--voltage-color);
            border-radius: 8px;
            top: 40px;
            left: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        .load-resistor {
            position: absolute;
            width: 60px;
            height: 30px;
            background-color: var(--resistance-color);
            border-radius: 4px;
            top: 45px;
            left: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        .current-label-visual {
            position: absolute;
            top: 100px;
            left: 50%;
            transform: translateX(-50%);
            font-weight: 600;
            color: var(--current-color);
        }
        .circuit-analysis {
            background-color: rgba(255, 109, 0, 0.05);
            border-radius: 8px;
            padding: 1.5rem;
            margin: 1.5rem 0;
        }
        .analysis-row {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(0,0,0,0.1);
        }
        .analysis-label {
            font-weight: 600;
        }
        .analysis-value {
            color: var(--current-color);
            font-weight: 600;
        }
        .wire-sizing-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .wire-sizing-table th, .wire-sizing-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .wire-sizing-table th {
            background-color: rgba(255, 109, 0, 0.1);
            font-weight: 600;
        }
        .wire-sizing-table tr:nth-child(even) {
            background-color: rgba(255, 109, 0, 0.05);
        }
        .wire-recommendation {
            background-color: rgba(56, 176, 0, 0.1);
            border-left: 4px solid var(--resistance-color);
            padding: 1rem;
            border-radius: 0 6px 6px 0;
            margin: 1.5rem 0;
        }
        .safety-warning {
            background-color: rgba(230, 57, 70, 0.1);
            border-left: 4px solid var(--danger-color);
            padding: 1.25rem;
            border-radius: 0 6px 6px 0;
            margin: 1.5rem 0;
        }
        .warning-icon {
            color: var(--danger-color);
            font-size: 1.5rem;
            margin-right: 1rem;
        }