/* ══ Metal Weight Calculator – Nutech Overseas (Light Theme) ══════════════════ */
#metal-calculator-section {
    background: linear-gradient(135deg, #fdfdfd 0%, #f5f5f5 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}
.mc-deco {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,196,0,0.04) 0%, transparent 70%);
    pointer-events: none;
}
.mc-deco-1 { width: 500px; height: 500px; top: -200px; left: -150px; }
.mc-deco-2 { width: 400px; height: 400px; bottom: -180px; right: -100px; }

.mc-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}
.mc-eyebrow-line {
    width: 50px;
    height: 1px;
    background: rgba(255,196,0,0.8);
}
.mc-eyebrow-text {
    font-family: 'Arimo', sans-serif;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #b88d00;
    font-weight: 700;
}

.mc-heading {
    font-family: 'Arimo', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #171717;
    letter-spacing: -0.5px;
    margin: 0 0 12px 0;
}
.mc-heading span {
    color: #b88d00;
}
.mc-subhead {
    color: #666666;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

#calc-card {
    background: #ffffff;
    border: 1px solid #e1e1e1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 30px;
    margin-top: 10px;
}

#calc-result-panel {
    background: #fdfbf7;
    border: 1px solid #f2e2c2;
    border-radius: 12px;
    padding: 28px 20px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-idle-icon {
    text-align: center;
    margin-bottom: 16px;
}
.calc-idle-icon i {
    font-size: 48px;
    color: rgba(184,141,0,0.25);
}
.calc-idle-text {
    color: #888888;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    text-align: center;
    line-height: 1.8;
}

.calc-label {
    color: #555555;
    font-family: 'Arimo', sans-serif;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}
.calc-select, .calc-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #cccccc;
    color: #171717;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border 0.25s, box-shadow 0.25s;
    box-sizing: border-box;
}
.calc-select:focus, .calc-input:focus {
    border-color: #FFC400;
    box-shadow: 0 0 0 3px rgba(255,196,0,0.15);
}
.calc-select option { background: #ffffff; color: #171717; }

#calc-btn {
    width: 100%;
    padding: 14px;
    background: #FFC400;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
#calc-btn:hover {
    transform: translateY(-2px);
    background: #e6b000;
    box-shadow: 0 6px 20px rgba(255,196,0,0.35);
}
#calc-reset {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #666666;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: border-color 0.25s, color 0.25s;
}
#calc-reset:hover {
    border-color: #888888;
    color: #171717;
}
.calc-label, .calc-select, .calc-input, #calc-btn, #calc-reset {
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    margin: 0;
}
#calc-result { display: none; text-align: center; }
#calc-result-label {
    color: #666666;
    font-family: 'Arimo', sans-serif;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
#calc-kg {
    font-family: 'Arimo', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #b88d00;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 4px;
}
.calc-unit-label {
    color: #888888;
    font-size: 13px;
    margin-top: 0;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.calc-lbs-divider {
    border-top: 1px solid #f2e2c2;
    padding-top: 14px;
    margin-bottom: 16px;
}
#calc-lbs {
    font-family: 'Arimo', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #171717;
    line-height: 1.2;
    word-wrap: break-word;
    word-break: break-all;
    margin-bottom: 4px;
}
.calc-stats-strip {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.calc-stat-box {
    background: #ffffff;
    border: 1px solid #ebd29b;
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 80px;
    text-align: center;
}
.calc-stat-val {
    color: #b88d00;
    font-family: 'Arimo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.calc-stat-lbl {
    color: #888888;
    font-family: 'Arimo', sans-serif;
    font-size: 10px;
    margin-top: 4px;
    letter-spacing: 0.5px;
}
#calc-formula-note {
    margin-top: 18px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #ebd29b;
    border-radius: 8px;
    color: #666666;
    font-size: 11px;
    font-family: 'Arimo', sans-serif;
    line-height: 1.6;
}

.mc-density-strip {
    border-top: 1px solid #ebd29b;
    padding-top: 28px;
    margin-top: 36px;
}
.mc-density-title {
    color: #171717;
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.density-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    color: #555555;
    font-family: 'Arimo', sans-serif;
    font-size: 12px;
    margin: 4px 3px;
}

@keyframes calcPop {
    0%   { opacity:0; transform:scale(0.85) translateY(10px); }
    60%  { transform:scale(1.04) translateY(-2px); }
    100% { opacity:1; transform:scale(1) translateY(0); }
}
.calc-pop { animation: calcPop 0.45s cubic-bezier(.4,0,.2,1) forwards; }

.calc-field-row { margin-bottom: 16px; }

/* ── Flex helper for calculator card ── */
.mc-flex-container {
    display: flex;
    gap: 30px;
}
.mc-flex-left { flex: 1 1 55%; min-width: 0; }
.mc-flex-right { flex: 1 1 45%; min-width: 0; }
.mc-field-row {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}
.mc-field-row .mc-col { flex: 1; min-width: 0; }
.mc-btn-group { margin-top: 6px; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 991px) {
    #calc-card { padding: 24px; }
    .mc-heading { font-size: 28px; }
    .mc-flex-container { flex-direction: column; }
}
@media (max-width: 767px) {
    #calc-result-panel { min-height: auto; margin-top: 24px; }
    #calc-kg { font-size: 36px !important; }
    #metal-calculator-section { padding: 40px 0; }
    .mc-field-row { flex-direction: column; gap: 12px; }
}
