/* Thermosystem Calculators Buttons */
:root {
    --tsc-orange: #F97316;
    --tsc-orange-dark: #EA580C;
    --tsc-blue: #1E3A8A;
    --tsc-blue-dark: #1E40AF;
    --tsc-white: #ffffff;
}

.tsc-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 28px 0;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.tsc-align-center { justify-content: center; }
.tsc-align-left   { justify-content: flex-start; }
.tsc-align-right  { justify-content: flex-end; }

.tsc-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 260px;
    padding: 16px 26px;
    border-radius: 14px;
    text-decoration: none !important;
    color: var(--tsc-white) !important;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
    overflow: hidden;
    isolation: isolate;
}

.tsc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
    filter: brightness(1.05);
}

.tsc-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.tsc-btn--orange {
    background: linear-gradient(135deg, var(--tsc-orange) 0%, var(--tsc-orange-dark) 100%);
}

.tsc-btn--blue {
    background: linear-gradient(135deg, #2563EB 0%, var(--tsc-blue) 100%);
}

.tsc-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    flex-shrink: 0;
}

.tsc-btn__icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
}

.tsc-btn__text {
    display: flex;
    flex-direction: column;
}

.tsc-btn__title {
    font-size: 16px;
    letter-spacing: .2px;
}

.tsc-btn__sub {
    font-size: 12px;
    font-weight: 500;
    opacity: .9;
    margin-top: 2px;
}

/* Pulsing rings */
.tsc-pulse::before,
.tsc-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
}

.tsc-btn--orange.tsc-pulse::before {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.55);
    animation: tsc-pulse 2s infinite;
}
.tsc-btn--orange.tsc-pulse::after {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.35);
    animation: tsc-pulse 2s infinite 1s;
}

.tsc-btn--blue.tsc-pulse::before {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55);
    animation: tsc-pulse 2s infinite;
}
.tsc-btn--blue.tsc-pulse::after {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.35);
    animation: tsc-pulse 2s infinite 1s;
}

@keyframes tsc-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(0,0,0,0.5); }
    70%  { box-shadow: 0 0 0 18px rgba(0,0,0,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@media (max-width: 600px) {
    .tsc-buttons-wrap { flex-direction: column; align-items: stretch; }
    .tsc-btn { min-width: 0; width: 100%; justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .tsc-btn, .tsc-pulse::before, .tsc-pulse::after { animation: none !important; transition: none !important; }
}
