.elementor-969 .elementor-element.elementor-element-dd618d2{--display:flex;}.elementor-969 .elementor-element.elementor-element-8e57ce0{width:100%;max-width:100%;margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;padding:0px 0px 0px 0px;z-index:0;}.elementor-969 .elementor-element.elementor-element-8e57ce0.elementor-element{--flex-grow:0;--flex-shrink:0;}/* Start custom CSS for html, class: .elementor-element-8e57ce0 */* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 50%, #faf5ff 100%);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 15px;
    color: #374151;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.equity-calculator {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.eq-header {
    text-align: center;
    margin-bottom: 30px;
}

.eq-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1.2;
}

.eq-subtitle {
    font-size: 1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.eq-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin-bottom: 25px;
}

.eq-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.3;
}

.eq-legend {
    background: #f9fafb;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.eq-legend h3 {
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.eq-legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    font-size: 0.9rem;
}

.eq-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eq-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.eq-dot-yellow { background-color: #fbbf24; }
.eq-dot-orange { background-color: #fb923c; }
.eq-dot-red { background-color: #ef4444; }

.eq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.eq-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eq-input-label {
    font-weight: 500;
    color: #374151;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
}

.eq-tooltip-btn {
    background: transparent !important;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 2px;
    margin-left: 5px;
    position: relative;
    font-size: 14px;
    transition: color 0.2s;
    outline: none;
    box-shadow: none;
}

.eq-tooltip-btn:hover {
    color: #3b82f6;
    background: transparent !important;
}

.eq-tooltip-btn:focus {
    outline: none;
    background: transparent !important;
}

.eq-tooltip {
    position: absolute;
    z-index: 1000;
    width: 280px;
    max-width: 90vw;
    padding: 12px;
    background-color: #1f2937;
    color: white;
    font-size: 0.8rem;
    border-radius: 8px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.4;
    text-align: left;
}

.eq-tooltip.show {
    opacity: 1;
}

.eq-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1f2937;
}

/* Slider Styles */
.eq-slider-container {
    position: relative;
    margin: 8px 0;
}

.eq-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
    transition: background 0.3s;
}

.eq-slider:hover {
    background: #d1d5db;
}

.eq-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.eq-slider::-webkit-slider-thumb:hover {
    background: #2563eb;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.eq-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.eq-slider-values {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.eq-slider-value {
    font-size: 0.8rem;
    color: #6b7280;
}

.eq-slider-current {
    background: #3b82f6;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.85rem;
}

.eq-badge {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    margin-top: 5px;
}

.eq-badge-weak { background: #fef3c7; color: #d97706; }
.eq-badge-medium { background: #fed7aa; color: #ea580c; }
.eq-badge-strong { background: #fecaca; color: #dc2626; }

/* Quick preset buttons */
.eq-presets {
    margin-bottom: 25px;
}

.eq-presets h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.eq-preset-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.eq-preset-btn {
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.eq-preset-btn:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.eq-preset-btn.active {
    background: #eff6ff;
    border-color: #3b82f6;
}

.eq-preset-name {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9rem;
}

.eq-preset-desc {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: none;
    border: none;
    outline: none;
}

button:focus {
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.eq-btn-primary {
    background: #3b82f6 !important;
    color: white !important;
    padding: 12px 20px;
    border: none !important;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}

.eq-btn-primary:hover {
    background: #2563eb !important;
    transform: translateY(-1px);
}

.eq-btn-primary:focus {
    background: #3b82f6 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.eq-btn-secondary {
    background: #f8fafc !important;
    color: #475569 !important;
    padding: 10px 16px;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}

.eq-btn-secondary:hover {
    background: #e2e8f0 !important;
    border-color: #cbd5e1;
}

.eq-btn-secondary:focus {
    background: #f8fafc !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.2);
}

.eq-btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.eq-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.eq-table th,
.eq-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.eq-table th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.eq-table tbody tr:hover {
    background: #f9fafb;
}

.eq-input-text {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: border-color 0.3s;
}

.eq-input-text:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.eq-btn-danger {
    background: transparent !important;
    border: none !important;
    color: #ef4444;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    box-shadow: none;
}

.eq-btn-danger:hover {
    background: #fef2f2 !important;
    transform: scale(1.1);
}

.eq-btn-danger:focus {
    background: transparent !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
}

.eq-btn-danger:disabled {
    color: #9ca3af;
    cursor: not-allowed;
    background: transparent !important;
}

.eq-btn-danger:disabled:hover {
    background: transparent !important;
    transform: none;
}

.eq-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.eq-stat-card {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.eq-stat-card:hover {
    transform: translateY(-2px);
}

.eq-stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.2;
}

.eq-stat-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
}

.eq-stat-blue { background: #eff6ff; }
.eq-stat-blue .eq-stat-value { color: #2563eb; }

.eq-stat-green { background: #f0fdf4; }
.eq-stat-green .eq-stat-value { color: #16a34a; }

.eq-stat-purple { background: #faf5ff; }
.eq-stat-purple .eq-stat-value { color: #9333ea; }

.eq-stat-orange { background: #fff7ed; }
.eq-stat-orange .eq-stat-value { color: #ea580c; }

.eq-importance-row {
    background: #eff6ff;
}

.eq-importance-cell {
    color: #dc2626;
    font-weight: bold;
    font-size: 1.1rem;
}

.eq-result-badge {
    background: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    font-size: 0.9rem;
}

.eq-total-row {
    background: #eff6ff;
    font-weight: bold;
    border-top: 2px solid #3b82f6;
}

.eq-total-badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.eq-section-partners {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.eq-overflow {
    overflow-x: auto;
}

/* Charts */
.eq-charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 25px;
}

.eq-chart-section {
    background: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}

.eq-chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 15px 0;
    text-align: center;
}

.eq-chart-container {
    height: 300px;
    position: relative;
}

/* Alerts and warnings */
.eq-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.eq-alert-warning {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #92400e;
}

.eq-alert-info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.eq-alert-success {
    background: #dcfce7;
    border-left: 4px solid #10b981;
    color: #065f46;
}

@media (max-width: 1024px) {
    .eq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .eq-title {
        font-size: 1.75rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .eq-grid {
        grid-template-columns: 1fr;
    }
    
    .eq-legend-grid {
        grid-template-columns: 1fr;
    }
    
    .eq-section-partners {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .eq-table {
        font-size: 0.8rem;
    }
    
    .eq-table th,
    .eq-table td {
        padding: 8px 4px;
    }

    .eq-section {
        padding: 15px;
    }

    .eq-charts-container {
        grid-template-columns: 1fr;
    }

    .eq-preset-buttons {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */