:root {
            --primary-color: #2c7da0;
            --secondary-color: #a9d6e5;
            --accent-color: #01497c;
            --electrical-color: #ff6b35;
            --copper-color: #d4a017;
            --aluminum-color: #a0a0a0;
            --nec-color: #e63946;
            --iec-color: #457b9d;
            --bs-color: #2a9d8f;
            --light-gray: #f8f9fa;
            --border-color: #eaeaea;
            --text-color: #333;
            --text-muted: #6c757d;
            --success-color: #28a745;
            --warning-color: #ffc107;
        }
        .page-header {
            background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(44, 125, 160, 0.1) 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(--electrical-color);
            box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
        }
        .result-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        .result-card {
            background: white;
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid #eee;
            text-align: center;
        }
        .result-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--electrical-color);
            margin-bottom: 0.25rem;
        }
        .result-label {
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .result-unit {
            font-size: 0.9rem;
            color: var(--text-muted);
            margin-left: 0.25rem;
        }
        .wire-visualization {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 2rem 0;
        }
        .wire-diameter {
            width: 300px;
            height: 100px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 1rem 0;
        }
        .wire-circle {
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, #d4a017, #b8860b);
            border: 2px solid #8b6914;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        .diameter-line {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background-color: var(--text-color);
        }
        .diameter-label {
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translateX(-50%);
            background: white;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            font-weight: 600;
            border: 1px solid var(--border-color);
        }
        .standards-tabs {
            margin: 2rem 0;
        }
        .standard-card {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        .standard-header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid;
        }
        .nec-header {
            border-bottom-color: var(--nec-color);
        }
        .iec-header {
            border-bottom-color: var(--iec-color);
        }
        .bs-header {
            border-bottom-color: var(--bs-color);
        }
        .standard-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: white;
            font-weight: bold;
        }
        .nec-icon {
            background-color: var(--nec-color);
        }
        .iec-icon {
            background-color: var(--iec-color);
        }
        .bs-icon {
            background-color: var(--bs-color);
        }
        .material-selector-container {
            background-color: var(--light-gray);
            border-radius: 6px;
            padding: 1.5rem;
            margin-top: 1.5rem;
        }
        .material-selector {
            display: flex;
            gap: 1rem;
            margin: 1rem 0;
        }
        .material-option {
            flex: 1;
            text-align: center;
            padding: 1rem;
            border-radius: 6px;
            border: 2px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
        }
        .material-option.active {
            border-color: var(--copper-color);
            background-color: rgba(212, 160, 23, 0.05);
        }
        .material-option:nth-child(2).active {
            border-color: var(--aluminum-color);
            background-color: rgba(160, 160, 160, 0.05);
        }
        .material-icon {
            font-size: 2rem;
            margin-bottom: 0.5rem;
        }
        .electrical-properties {
            background-color: rgba(44, 125, 160, 0.05);
            border-radius: 6px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            border: 1px solid var(--border-color);
        }
        .comparison-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .comparison-table th, .comparison-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .comparison-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .comparison-table tr:nth-child(even) {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .comparison-table .selected-row {
            background-color: rgba(255, 107, 53, 0.1);
            font-weight: 600;
        }
        .standards-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .standards-table th, .standards-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .standards-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .standards-table td:first-child {
            font-weight: 600;
            text-align: left;
        }
        .standards-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .nec-cell {
            background-color: rgba(230, 57, 70, 0.05);
            color: var(--nec-color);
            font-weight: 600;
        }
        .iec-cell {
            background-color: rgba(69, 123, 157, 0.05);
            color: var(--iec-color);
            font-weight: 600;
        }
        .bs-cell {
            background-color: rgba(42, 157, 143, 0.05);
            color: var(--bs-color);
            font-weight: 600;
        }
        .nav-tabs {
            border-bottom: 1px solid var(--border-color);
        }
        .nav-tabs .nav-tabs .warning-box {
            background-color: rgba(255, 107, 53, 0.05);
            border-left: 3px solid var(--electrical-color);
            padding: 1rem;
            border-radius: 0 4px 4px 0;
            margin: 1.5rem 0;
        }
        @media (max-width: 768px) {
            .result-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .wire-diameter {
                width: 250px;
            }
            .standards-table {
                font-size: 0.9rem;
            }
            .material-selector {
                flex-direction: column;
            }
        }
        @media (max-width: 576px) {
            .result-grid {
                grid-template-columns: 1fr;
            }
            .wire-diameter {
                width: 200px;
            }
            .standards-table {
                font-size: 0.8rem;
            }
            .standards-table th, .standards-table td {
                padding: 0.5rem;
            }
        }
        .quick-selection {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .quick-btn {
            background-color: rgba(44, 125, 160, 0.1);
            border: 1px solid rgba(44, 125, 160, 0.2);
            border-radius: 4px;
            padding: 0.5rem 0.75rem;
            font-size: 0.9rem;
            color: var(--primary-color);
            cursor: pointer;
            transition: all 0.2s;
        }
        .quick-btn:hover {
            background-color: rgba(44, 125, 160, 0.2);
            transform: translateY(-2px);
        }
        .standard-selector {
            display: flex;
            gap: 0.5rem;
            margin: 1rem 0;
        }
        .standard-btn {
            flex: 1;
            text-align: center;
            padding: 0.75rem;
            border-radius: 6px;
            border: 2px solid var(--border-color);
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 600;
        }
        .standard-btn.active {
            transform: translateY(-2px);
        }
        .nec-btn.active {
            border-color: var(--nec-color);
            background-color: rgba(230, 57, 70, 0.05);
            color: var(--nec-color);
        }
        .iec-btn.active {
            border-color: var(--iec-color);
            background-color: rgba(69, 123, 157, 0.05);
            color: var(--iec-color);
        }
        .bs-btn.active {
            border-color: var(--bs-color);
            background-color: rgba(42, 157, 143, 0.05);
            color: var(--bs-color);
        }
        .capacity-table {
            width: 100%;
            border-collapse: collapse;
            margin: 1.5rem 0;
        }
        .capacity-table th, .capacity-table td {
            padding: 0.75rem;
            text-align: center;
            border: 1px solid var(--border-color);
        }
        .capacity-table th {
            background-color: var(--light-gray);
            font-weight: 600;
        }
        .capacity-table tr:hover {
            background-color: rgba(44, 125, 160, 0.05);
        }
        .highlight {
            background-color: rgba(255, 107, 53, 0.1) !important;
            font-weight: 600;
        }
        .application-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }
        .application-card {
            background: white;
            border-radius: 6px;
            padding: 1rem;
            border: 1px solid var(--border-color);
            text-align: center;
            transition: all 0.3s;
        }
        .application-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .application-icon {
            font-size: 2rem;
            color: var(--electrical-color);
            margin-bottom: 0.5rem;
        }