/* ============================================================================
   WELDING TOOLS - WORDPRESS INTEGRATED STYLES
   All selectors namespaced under .weld-tools-app to avoid conflicts
   ============================================================================ */

/* Reset/Scope container */
.weld-tools-app {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    min-height: 60vh;
    padding: 80px 0 60px 0;
    position: relative;
    z-index: 1;
}

/* Mobile - extra space for sticky WordPress header */
@media (max-width: 991px) {
    .weld-tools-app {
        padding-top: 100px;
    }
}

@media (max-width: 576px) {
    .weld-tools-app {
        padding-top: 120px; /* Extra space for mobile sticky header */
    }
}

.weld-tools-app *,
.weld-tools-app *::before,
.weld-tools-app *::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */

.weld-tools-app .wt-main-content {
    width: 100%;
}

.weld-tools-app .wt-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    overflow-x: hidden;
}

/* ============================================================================
   TAB NAVIGATION
   ============================================================================ */

.weld-tools-app .wt-tab-nav-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.weld-tools-app .wt-nav-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.weld-tools-app .wt-nav-arrow.visible {
    opacity: 1;
    pointer-events: auto;
}

.weld-tools-app .wt-nav-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

.weld-tools-app .wt-nav-arrow-left {
    margin-right: 8px;
    margin-bottom: 10px; /* Match tab nav padding-bottom */
}

.weld-tools-app .wt-nav-arrow-right {
    margin-left: 8px;
    margin-bottom: 10px; /* Match tab nav padding-bottom */
}

.weld-tools-app .wt-tab-nav {
    display: flex;
    gap: 8px;
    flex: 1;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.weld-tools-app .wt-tab-nav::-webkit-scrollbar {
    display: none;
}

.weld-tools-app .wt-tab-btn {
    flex-shrink: 0;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
}

.weld-tools-app .wt-tab-btn:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.weld-tools-app .wt-tab-btn.active {
    background: white;
    color: #1e3a5f;
    border-color: white;
}

/* ============================================================================
   TAB CONTENT
   ============================================================================ */

.weld-tools-app .wt-tab-content {
    position: relative;
}

.weld-tools-app .wt-tab-pane {
    display: none;
    animation: wtFadeIn 0.3s ease;
}

.weld-tools-app .wt-tab-pane.active {
    display: block;
}

@keyframes wtFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   CARDS
   ============================================================================ */

.weld-tools-app .card {
    background: #1a1a1a;
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* ============================================================================
   CALCULATOR SUB-NAVIGATION
   ============================================================================ */

.weld-tools-app .calc-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.weld-tools-app .calc-nav .calc-btn {
    flex-shrink: 0;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #aaa !important;
    background: #333 !important;
    background-color: #333 !important;
    border: 1px solid #555 !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.weld-tools-app .calc-nav .calc-btn:hover {
    background: #444 !important;
    background-color: #444 !important;
    border-color: #666 !important;
}

.weld-tools-app .calc-nav .calc-btn.active {
    background: #5a8abf !important;
    background-color: #5a8abf !important;
    border-color: #5a8abf !important;
    color: white !important;
}

.weld-tools-app .calc-pane {
    display: none;
}

.weld-tools-app .calc-pane.active {
    display: block;
    animation: wtFadeIn 0.3s ease;
}

/* Qualification Toggle (PQR/Welder) */
.weld-tools-app .qual-toggle {
    display: flex !important;
    gap: 0;
    margin-bottom: 20px;
    background: #333 !important;
    background-color: #333 !important;
    border-radius: 10px;
    padding: 4px;
}

.weld-tools-app .qual-toggle .qual-btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #aaa !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.weld-tools-app .qual-toggle .qual-btn:hover {
    color: #ddd !important;
}

.weld-tools-app .qual-toggle .qual-btn.active {
    background: #1a1a1a !important;
    background-color: #1a1a1a !important;
    color: #7aa3cc !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.weld-tools-app .qual-pane {
    display: none;
}

.weld-tools-app .qual-pane.active {
    display: block;
}

/* ============================================================================
   FORMS
   ============================================================================ */

.weld-tools-app .form-group {
    margin-bottom: 20px;
}

.weld-tools-app label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #aaa;
    margin-bottom: 8px;
}

.weld-tools-app label small {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.7;
}

.weld-tools-app select,
.weld-tools-app input[type="number"],
.weld-tools-app input[type="text"],
.weld-tools-app input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    color: #eee;
    background: #2a2a2a;
    border: 2px solid #444;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.weld-tools-app select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23aaa' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.weld-tools-app select:focus,
.weld-tools-app input:focus {
    outline: none;
    border-color: #5a8abf;
    background: #2a2a2a;
    box-shadow: 0 0 0 3px rgba(90, 138, 191, 0.2);
}

/* Placeholder text - light gray for visibility */
.weld-tools-app input::placeholder {
    color: #a0aec0 !important;
    opacity: 1 !important;
}
.weld-tools-app input::-webkit-input-placeholder {
    color: #a0aec0 !important;
}
.weld-tools-app input::-moz-placeholder {
    color: #a0aec0 !important;
}
.weld-tools-app input:-ms-input-placeholder {
    color: #a0aec0 !important;
}

.weld-tools-app .row {
    display: flex;
    gap: 12px;
}

.weld-tools-app .row .form-group {
    flex: 1;
}

/* Radio Button Group - Toggle Style */
.weld-tools-app .radio-group {
    display: flex;
    gap: 0;
    background: #333;
    border-radius: 8px;
    padding: 4px;
    width: fit-content;
}

.weld-tools-app .radio-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
}

.weld-tools-app .radio-label input[type="radio"] {
    display: none;
}

.weld-tools-app .radio-label span {
    pointer-events: none;
}

.weld-tools-app .radio-label:has(input:checked) {
    background: #5a8abf;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.weld-tools-app .btn {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, #5a8abf 0%, #1e3a5f 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.weld-tools-app .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(90, 138, 191, 0.4);
}

.weld-tools-app .btn:active {
    transform: translateY(0);
}

/* ============================================================================
   RESULTS
   ============================================================================ */

.weld-tools-app .results {
    margin-top: 24px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.weld-tools-app .results.show {
    opacity: 1;
    max-height: 2000px;
}

.weld-tools-app .divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #444, transparent);
    margin-bottom: 24px;
}

.weld-tools-app .result-section {
    margin-bottom: 20px;
}

.weld-tools-app .result-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7aa3cc;
    margin-bottom: 8px;
}

.weld-tools-app .result-value {
    font-size: 36px;
    font-weight: 700;
    color: #5a8abf;
    line-height: 1.2;
}

.weld-tools-app .result-value small {
    font-size: 18px;
    font-weight: 400;
    color: #aaa;
}

.weld-tools-app .result-header {
    font-size: 14px;
    font-weight: 600;
    color: #7aa3cc;
    margin-bottom: 16px;
    background: transparent;
}

.weld-tools-app .result-breakdown {
    background: #252525;
    border-radius: 10px;
    padding: 16px;
    overflow-x: hidden;
}

.weld-tools-app .result-breakdown-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #333;
    font-size: 14px;
    color: #ccc;
    flex-wrap: wrap;
    gap: 4px;
}

@media (max-width: 576px) {
    .weld-tools-app .result-breakdown-row {
        flex-direction: column;
        font-size: 13px;
    }
    
    .weld-tools-app .result-breakdown-row span:last-child {
        color: #4caf50;
        font-weight: 500;
    }
}

.weld-tools-app .result-breakdown-row:last-child {
    border-bottom: none;
}

.weld-tools-app .result-breakdown-row strong {
    color: #eee;
}

/* Results list style (Test Requirements) */
.weld-tools-app .results ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.weld-tools-app .results li {
    padding: 8px 0;
    border-bottom: 1px solid #333;
    color: #ccc;
    font-size: 14px;
}

.weld-tools-app .results li:last-child {
    border-bottom: none;
}

.weld-tools-app .results h4 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #7aa3cc;
    margin: 20px 0 12px 0;
    background: transparent;
}

.weld-tools-app .results h4:first-child {
    margin-top: 0;
}

/* Result items */
.weld-tools-app .result-item {
    padding: 10px 14px;
    background: #252525;
    border-radius: 8px;
    margin-bottom: 8px;
    color: #ccc;
    font-size: 14px;
}

.weld-tools-app .result-item:last-child {
    margin-bottom: 0;
}

.weld-tools-app .no-tests {
    padding: 10px 14px;
    background: #252525;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    font-style: italic;
}

/* Match Items (Material Lookup) */
.weld-tools-app .match-item {
    padding: 14px;
}

.weld-tools-app .match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.weld-tools-app .match-header strong {
    color: #eee;
    font-size: 16px;
}

.weld-tools-app .confidence {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.weld-tools-app .confidence.high {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.weld-tools-app .confidence.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.weld-tools-app .confidence.low {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.weld-tools-app .match-details {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.weld-tools-app .match-notes {
    font-size: 12px;
    color: #ff9800;
    margin-top: 8px;
}

/* Mini Results (Destructive Testing) */
.weld-tools-app .mini-result {
    display: none;
    padding: 16px;
    border-radius: 10px;
    margin-top: 15px;
    font-size: 16px;
}

.weld-tools-app .mini-result.success {
    display: block;
    background: #1e3d1e;
    border: 1px solid #2d5a2d;
    color: #90ee90;
}

.weld-tools-app .mini-result.success strong {
    color: #4caf50;
    font-size: 24px;
}

.weld-tools-app .mini-result.success small {
    color: #aaa;
    font-size: 13px;
}

.weld-tools-app .mini-result.error {
    display: block;
    background: #3d1e1e;
    border: 1px solid #5a2d2d;
    color: #ffb6c1;
}

/* ============================================================================
   NOTES
   ============================================================================ */

.weld-tools-app .notes-box {
    background: rgba(90, 138, 191, 0.15);
    border-left: 3px solid #5a8abf;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 13px;
    color: #aaa;
}

.weld-tools-app .notes-box strong {
    display: block;
    color: #7aa3cc;
    margin-bottom: 4px;
}

.weld-tools-app .calc-note {
    font-size: 12px;
    color: #aaa;
    background: transparent;
}

.weld-tools-app .calc-title {
    font-size: 18px;
    font-weight: 600;
    color: #7aa3cc;
    margin-bottom: 20px;
    background: transparent;
}

.weld-tools-app .calc-section {
    margin-bottom: 30px;
}

.weld-tools-app .calc-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: #eee;
    margin-bottom: 15px;
    background: transparent;
}

/* ============================================================================
   DESIGNATION BOX (ISO 9606 etc)
   ============================================================================ */

.weld-tools-app .designation-box {
    background: linear-gradient(135deg, rgba(90, 138, 191, 0.15) 0%, rgba(90, 138, 191, 0.05) 100%);
    border: 1px solid rgba(90, 138, 191, 0.3);
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

.weld-tools-app .designation-box strong {
    color: #7aa3cc;
}

.weld-tools-app .designation-box code {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #4caf50;
    display: block;
    margin-top: 8px;
    word-break: break-all;
    overflow-x: auto;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .weld-tools-app .designation-box code {
        font-size: 11px;
        padding: 8px 10px;
        white-space: normal;
        word-break: break-word;
    }
}

/* ============================================================================
   CONSTITUTION DIAGRAMS
   ============================================================================ */

.weld-tools-app .constitution-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.weld-tools-app .chem-column h4 {
    color: #7aa3cc;
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.weld-tools-app .form-group.compact {
    margin-bottom: 8px;
}

.weld-tools-app .form-group.compact label {
    font-size: 12px;
    margin-bottom: 3px;
}

.weld-tools-app .form-group.compact input {
    padding: 8px 10px;
    font-size: 14px;
}

.weld-tools-app .diagram-container {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 10px;
    margin: 15px 0;
    overflow-x: auto;
}

.weld-tools-app .diagram-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

.weld-tools-app .diagram-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    font-size: 12px;
    color: #aaa;
}

.weld-tools-app .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.weld-tools-app .legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.weld-tools-app .legend-item .dot.bm1 { background: #e74c3c; }
.weld-tools-app .legend-item .dot.bm2 { background: #f39c12; }
.weld-tools-app .legend-item .dot.fm { background: #9b59b6; }
.weld-tools-app .legend-item .dot.wm { background: #2ecc71; }

.weld-tools-app .calc-note {
    color: #888;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ============================================================================
   HEAT INPUT RANGES TABLE
   ============================================================================ */

.weld-tools-app .hi-ranges-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 14px;
}

.weld-tools-app .hi-ranges-table th,
.weld-tools-app .hi-ranges-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.weld-tools-app .hi-ranges-table th {
    color: #888;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
}

.weld-tools-app .hi-ranges-table td {
    color: #ddd;
}

.weld-tools-app .hi-ranges-table tr:last-child td {
    border-bottom: none;
}

.weld-tools-app .hi-ranges-table .hi-base-row {
    background: rgba(90, 138, 191, 0.2);
}

.weld-tools-app .hi-ranges-table .hi-base-row td {
    color: #7aa3cc;
    font-weight: 600;
}

/* ============================================================================
   SHARE BAR
   ============================================================================ */

.weld-tools-app .wt-share-bar {
    margin-top: 30px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.weld-tools-app .wt-share-label {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.weld-tools-app .wt-share-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.weld-tools-app .wt-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
}

.weld-tools-app .wt-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.weld-tools-app .wt-share-btn svg {
    flex-shrink: 0;
}

.weld-tools-app .wt-share-linkedin {
    background: #0077b5;
}
.weld-tools-app .wt-share-linkedin:hover {
    background: #006097;
}

.weld-tools-app .wt-share-whatsapp {
    background: #25d366;
}
.weld-tools-app .wt-share-whatsapp:hover {
    background: #1fb855;
}

.weld-tools-app .wt-share-x {
    background: #000000;
}
.weld-tools-app .wt-share-x:hover {
    background: #333333;
}

.weld-tools-app .wt-share-email {
    background: #6b7280;
}
.weld-tools-app .wt-share-email:hover {
    background: #4b5563;
}

.weld-tools-app .wt-share-copy {
    background: #3b82f6;
}
.weld-tools-app .wt-share-copy:hover {
    background: #2563eb;
}

.weld-tools-app .wt-share-native {
    background: #06b6d4;
}
.weld-tools-app .wt-share-native:hover {
    background: #0891b2;
}

/* Mobile: Hide text labels, show icons only */
@media (max-width: 600px) {
    .weld-tools-app .wt-share-btn {
        padding: 12px;
    }
    .weld-tools-app .wt-share-btn span {
        display: none;
    }
    .weld-tools-app .wt-share-btn svg {
        width: 22px;
        height: 22px;
    }
}

/* ============================================================================
   DISCLAIMER
   ============================================================================ */

.weld-tools-app .wt-disclaimer {
    margin-top: 40px;
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.weld-tools-app .wt-disclaimer p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 10px 0;
}

.weld-tools-app .wt-disclaimer p:last-child {
    margin-bottom: 0;
}

.weld-tools-app .wt-disclaimer strong {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================================================
   TEST REQUIREMENTS SPECIFIC
   ============================================================================ */

.weld-tools-app .test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.weld-tools-app .test-item {
    background: #252525;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
}

.weld-tools-app .test-item.required {
    background: linear-gradient(135deg, rgba(90, 138, 191, 0.2) 0%, rgba(30, 58, 95, 0.3) 100%);
    border: 1px solid rgba(90, 138, 191, 0.3);
}

.weld-tools-app .test-item.not-required {
    opacity: 0.5;
}

.weld-tools-app .test-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.weld-tools-app .test-name {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
    margin-bottom: 4px;
}

.weld-tools-app .test-qty {
    font-size: 20px;
    font-weight: 700;
    color: #5a8abf;
}

.weld-tools-app .test-item.not-required .test-qty {
    color: #666;
}

/* ============================================================================
   MOBILE RESPONSIVE
   ============================================================================ */

@media (max-width: 600px) {
    .weld-tools-app .wt-container {
        padding: 0 15px;
    }
    
    .weld-tools-app .wt-tab-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .weld-tools-app .card {
        padding: 20px;
        border-radius: 12px;
    }
    
    .weld-tools-app .row {
        flex-direction: column;
        gap: 0;
    }
    
    .weld-tools-app .result-value {
        font-size: 28px;
    }
    
    .weld-tools-app .test-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
