/* ---------------------------------------------------------
   Process Engineering Calculator Master Stylesheet
   Project: MyEngineeringTools.com
   --------------------------------------------------------- */

:root { 
    --brand-blue: #000066; 
    --brand-orange: #ff6600; 
    --legal-red: #b30000; 
    --bg-light: #f4f4f9;
}

body { font-family: "Segoe UI",Arial,sans-serif; color: #333; line-height: 1.6; background-color: var(--bg-light); }

/* Brand Header Match */
.met-header { background-color: var(--brand-blue); color: white; padding: 20px; border-bottom: 4px solid var(--brand-orange); }
.header-flex { max-width: 1000px; margin: auto; display: flex; align-items: center; gap: 20px; }
.brand-titles { display: flex; flex-direction: column; }
.brand-main { font-size: 22px; font-weight: bold; text-decoration: none; color: white; }
.brand-sub { font-size: 14px; color: #ccc; }
.calc-breadcrumb { background: var(--brand-orange); color: white; display: inline-block; padding: 2px 12px; border-radius: 4px; font-weight: bold; margin-top: 8px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }

/* Main Layout */
.main-wrapper { max-width: 1000px; margin: auto; padding: 20px; }
.calc-card { background: white; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); overflow: hidden; margin-bottom: 30px; }
.calc-section-title { border-bottom: 2px solid #f1f1f1; padding-bottom: 10px; margin-bottom: 20px; color: var(--brand-blue); font-weight: bold; }

/* Interaction Elements */
.btn-calc { background-color: var(--brand-orange); color: white; font-weight: bold; transition: 0.3s; border: none; padding: 15px; cursor: pointer; border-radius: 4px; font-size: 16px; width: 100%; }
.btn-calc:hover { background-color: #e65c00; box-shadow: 0 4px 8px rgba(0,0,0,0.2); transform: translateY(-1px); }

/* Output/Result Box */
.output-display { background-color: #fffaf5; border-left: 6px solid var(--brand-orange); padding: 25px; border-radius: 4px; height: 100%; min-height: 250px; display: flex; flex-direction: column; justify-content: center; }
.result-val { font-size: 48px; color: var(--brand-orange); font-weight: bold; line-height: 1; }
.result-unit { font-size: 18px; color: #666; font-weight: bold; }

/* Legal Notice */
.legal-notice { background-color: #fef2f2; border: 1px solid #fee2e2; border-left: 6px solid var(--legal-red); padding: 20px; margin-top: 40px; font-size: 12px; color: #444; text-align: justify; }
.legal-header { color: var(--legal-red); font-weight: bold; text-transform: uppercase; margin-bottom: 8px; display: block; font-size: 13px; }

/* Theory CTA Section */
.theory-cta { background: var(--brand-blue); color: white; padding: 35px; border-radius: 8px; margin-top: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); text-align: center; }
.theory-cta h2 { margin-top: 0; }
.theory-cta a { color: var(--brand-orange); text-decoration: none; font-weight: bold; border-bottom: 2px solid var(--brand-orange); transition: 0.2s; font-size: 18px; }
.theory-cta a:hover { color: white; border-bottom-color: white; }

/* AdSense optimization space */
.methodology-text { margin-top: 30px; padding: 15px; border-top: 1px solid #eee; font-size: 14px; color: #555; }