/**
 * Tip Calculator Tool Specific Styling
 */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
.tip-calc{font-family:'Inter',sans-serif;color:#0f172a;max-width:640px;margin:0 auto;padding:24px}
.tip-card{background:#fff;border-radius:16px;box-shadow:0 1px 3px rgba(0,0,0,.08),0 8px 24px rgba(0,0,0,.06);padding:32px;display:grid;grid-template-columns:1fr 1fr;gap:32px}
[data-theme="dark"] .tip-card{background:#1e293b;box-shadow:0 1px 3px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.2)}
[data-theme="dark"] .tip-calc{color:#e2e8f0}
.tip-section{display:flex;flex-direction:column;gap:20px}
.tip-label{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#64748b;margin-bottom:2px}
[data-theme="dark"] .tip-label{color:#94a3b8}
.tip-input-wrap{position:relative;display:flex;align-items:center}
.tip-input-wrap .prefix,.tip-input-wrap .suffix{position:absolute;top:50%;transform:translateY(-50%);font-size:16px;font-weight:600;color:#94a3b8;pointer-events:none}
.tip-input-wrap .prefix{left:14px}
.tip-input-wrap .suffix{right:14px}
.tip-input{width:100%;height:52px;border:2px solid #e2e8f0;border-radius:12px;padding:0 16px;font-family:'Inter',sans-serif;font-size:16px;font-weight:500;color:#0f172a;background:transparent;outline:none;transition:border-color .2s,box-shadow .2s}
.tip-input:focus{border-color:#4f46e5;box-shadow:0 0 0 3px rgba(79,70,229,.12)}
[data-theme="dark"] .tip-input{color:#e2e8f0;border-color:#334155}
[data-theme="dark"] .tip-input:focus{border-color:#818cf8;box-shadow:0 0 0 3px rgba(129,140,248,.15)}
.tip-input.has-prefix{padding-left:32px}
.tip-input.has-suffix{padding-right:32px}
.tip-btn-group{display:flex;flex-wrap:wrap;gap:8px}
.tip-btn{height:44px;padding:0 16px;border:2px solid #e2e8f0;border-radius:10px;background:transparent;font-family:'Inter',sans-serif;font-size:14px;font-weight:600;color:#475569;cursor:pointer;transition:all .2s}
.tip-btn:hover{border-color:#c7d2fe;background:#eef2ff}
.tip-btn.active{border-color:#4f46e5;background:#4f46e5;color:#fff}
[data-theme="dark"] .tip-btn{border-color:#334155;color:#94a3b8}
[data-theme="dark"] .tip-btn:hover{border-color:#818cf8;background:rgba(129,140,248,.1)}
[data-theme="dark"] .tip-btn.active{border-color:#818cf8;background:#818cf8;color:#fff}
.result-card{background:linear-gradient(135deg,#4f46e5,#7c3aed);border-radius:16px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:20px;color:#fff}
.result-row{display:flex;justify-content:space-between;align-items:baseline;padding-bottom:16px;border-bottom:1px solid rgba(255,255,255,.15)}
.result-row:last-child{border-bottom:none;padding-bottom:0}
.result-row-label{font-size:14px;font-weight:500;opacity:.85}
.result-row-value{font-size:28px;font-weight:700;letter-spacing:-.02em}
.result-row.divider{border-bottom:2px solid rgba(255,255,255,.25)}
.result-row.divider .result-row-value{font-size:32px}
.tip-error{font-size:12px;color:#ef4444;margin-top:4px;min-height:18px}
@media(max-width:560px){
.tip-card{grid-template-columns:1fr;padding:24px;gap:28px}
.result-row-value{font-size:24px}
.result-row.divider .result-row-value{font-size:28px}
}
