/* Crypto calculator card v3 — "See what you'd get" ([short_crypto_calc_v3], first used in the
   homepage hero, Sep 2026). Loads after scc-converter.css and only overrides v1's look; the
   script is v1's. Hand-written like the other calculator styles. */

#scc-converter-container.scc-v3 {
    min-height: 0;
    padding: 0;
    max-width: 500px;
    width: 100%;
}

.scc-v3 .scc-wrapper {
    padding: 25px 27px;
    background: #f1f4ff;
    border: 1px solid #dde3fa;
    border-radius: 18px;
}

/* Spacing per Figma: 15px between groups, 3px title-to-subtitle, 6px label-to-field / result-to-note. */
.scc-v3 .scc-content {
    gap: 15px;
}

.scc-v3 .scc-title {
    font-size: 26px;
    line-height: 1.2;
    text-align: left;
    margin-bottom: -12px;
}

.scc-v3 .scc-subtitle {
    font-size: 18px;
    line-height: 1.2;
    color: #2b65e8;
}

.scc-v3 .scc-quick-buttons {
    justify-content: flex-start;
}

.scc-v3 .scc-quick-buttons button {
    padding: 8px 19px;
    font-size: 16px;
    border: 1px solid #d5daea;
    border-radius: 18px;
    color: #000071;
}

.scc-v3 .scc-quick-buttons button.active {
    border-color: #2b4cf0;
    color: #2b4cf0;
}

/* The script appends the crypto group first, then fiat; the design wants "You pay" (fiat) on top. */
.scc-v3 .scc-form {
    min-height: 0;
    gap: 10px;
}

.scc-v3 .scc-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.scc-v3 .scc-input-group::before {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #000071;
}

.scc-v3 .scc-input-group:nth-child(1) {
    order: 2;
}

.scc-v3 .scc-input-group:nth-child(1)::before {
    content: "You get (estimated)";
}

.scc-v3 .scc-input-group:nth-child(1) .scc-input {
    height: 50px;
    background: #e7ebf8;
    border-color: #e7ebf8;
}

.scc-v3 .scc-input-group:nth-child(1) .scc-select-button {
    color: #2b65e8;
    border-color: #c3cbe6;
}

.scc-v3 .scc-input-group:nth-child(2) {
    order: 1;
}

.scc-v3 .scc-input-group:nth-child(2)::before {
    content: "You pay";
}

.scc-v3 .scc-input {
    height: 54px;
    font-size: 22px;
    padding: 0 130px 0 15px;
    border: 1px solid #d5daea;
    border-radius: 12px;
    background: #fff;
}

.scc-v3 .scc-select-wrapper {
    top: auto;
    bottom: 9px;
    right: 9px;
    transform: none;
}

.scc-v3 .scc-select-button {
    padding: 7px 11px;
    background: #fff;
    color: #000071;
    border: 1px solid #d5daea;
    border-radius: 9px;
    font-size: 14px;
}

.scc-v3 .scc-select-button::after {
    font-size: 8px;
    margin-left: 6px;
}

.scc-v3 .scc-note {
    margin-top: -9px;
    font-size: 14px;
    line-height: 1.2;
    color: #000071;
}

.scc-v3 .scc-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    color: #000071;
}

.scc-v3 .scc-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a06a;
    box-shadow: 0 0 0 0 rgba(22, 160, 106, 0.75);
    animation: scc-live-pulse 2s ease infinite;
}

/* Same pulse as the halving countdown's live dot: the price keeps updating. */
@keyframes scc-live-pulse {
    70% { box-shadow: 0 0 0 9px rgba(22, 160, 106, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 160, 106, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .scc-v3 .scc-live i {
        animation: none;
    }
}

.scc-v3 .scc-doors {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    margin-top: 18px;
}

.scc-v3 .scc-cta {
    align-self: stretch;
    min-width: 0;
    height: 56px;
    padding: 0;
    line-height: 56px;
    border-radius: 14px;
    background: #2b4cf0;
    font-size: 22px;
    font-weight: 700;
}

.scc-v3 .scc-doors-note,
.scc-v3 .scc-doors-login {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    color: #000071;
}

.scc-v3 .scc-doors-note a,
.scc-v3 .scc-doors-login a {
    color: #2b4cf0;
    font-weight: 700;
}
