/* Percentage Error Calculator Styles */
.percentage-error-calculator-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.percentage-error-calculator-wrapper {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.percentage-error-calculator-wrapper .calculator-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    padding: 30px;
}

.percentage-error-calculator-wrapper .input-group {
    margin-bottom: 20px;
}

.percentage-error-calculator-wrapper label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.percentage-error-calculator-wrapper input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.percentage-error-calculator-wrapper input:focus {
    outline: none;
    border-color: #667eea;
}

.percentage-error-calculator-wrapper .button-group {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.percentage-error-calculator-wrapper button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.percentage-error-calculator-wrapper .calculate-btn {
    background: #667eea;
    color: white;
}

.percentage-error-calculator-wrapper .calculate-btn:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
}

.percentage-error-calculator-wrapper .reset-btn {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #e1e5e9;
}

.percentage-error-calculator-wrapper .reset-btn:hover {
    background: #e9ecef;
}

.percentage-error-calculator-wrapper .results-section {
    display: none;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.percentage-error-calculator-wrapper .result-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.percentage-error-calculator-wrapper .result-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.percentage-error-calculator-wrapper .result-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.percentage-error-calculator-wrapper .result-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.percentage-error-calculator-wrapper .recommendation {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
}

.percentage-error-calculator-wrapper .warning {
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    display: none;
}

.percentage-error-calculator-wrapper .error {
    background: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    border-radius: 4px;
    margin-top: 10px;
    display: none;
}

.percentage-error-calculator-wrapper .export-btn {
    background: #4caf50;
    color: white;
    display: none;
    width: 100%;
    margin-top: 10px;
}

.percentage-error-calculator-wrapper .export-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
}