/* FAST CHANGE SOLUTIONS — Calculadora CSS v1.0.4 */

.fc-calc {
    background: #ffffff; border-radius: 20px;
    box-shadow: 0 8px 40px rgba(95,220,226,0.12), 0 2px 8px rgba(0,0,0,0.04);
    padding: 40px; max-width: 580px; margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative; overflow: hidden;
}
.fc-calc::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, #5fdce2, #4bc5cb);
}
.fc-calc__header { text-align: center; margin-bottom: 28px; }
.fc-calc__title { font-size: 24px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; line-height: 1.3; }
.fc-calc__subtitle { font-size: 14px; color: #888; margin: 0; }
.fc-calc__field { margin-bottom: 20px; }
.fc-calc__label { display: block; font-size: 13px; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }

/* TABS */
.fc-calc__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fc-calc__tab {
    padding: 10px 6px; border: 2px solid #e8e8e8; border-radius: 10px;
    background: #fff; cursor: pointer; font-weight: 600; font-size: 12px;
    color: #666; transition: all 0.2s ease; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 6px; font-family: inherit;
}
.fc-calc__tab:hover { border-color: #5fdce2; color: #1a1a1a; }
.fc-calc__tab--active { border-color: #5fdce2; background: #5fdce2; color: #fff; }
.fc-calc__tab--active:hover { color: #fff; }

/* LOGOS */
.fc-calc__tab-logo {
    width: 28px; height: 28px; object-fit: contain; border-radius: 4px;
    transition: filter 0.2s;
}
.fc-calc__tab--active .fc-calc__tab-logo { filter: brightness(0) invert(1); }

/* RATE */
.fc-calc__rate-display {
    text-align: center; font-size: 14px; color: #888; padding: 12px 16px;
    background: #f8fffe; border-radius: 8px; margin-bottom: 20px; border: 1px solid #e3f8f9;
}
.fc-calc__rate-display strong { color: #5fdce2; font-size: 18px; }

/* INPUT */
.fc-calc__input-wrapper {
    display: flex; align-items: center; border: 2px solid #e8e8e8;
    border-radius: 12px; overflow: hidden; transition: border-color 0.2s;
}
.fc-calc__input-wrapper:focus-within { border-color: #5fdce2; box-shadow: 0 0 0 3px rgba(95,220,226,0.15); }
.fc-calc__input {
    flex: 1; border: none; padding: 16px; font-size: 20px; font-weight: 600;
    color: #1a1a1a; outline: none; background: transparent; -moz-appearance: textfield;
}
.fc-calc__input::-webkit-outer-spin-button, .fc-calc__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fc-calc__input::placeholder { color: #ccc; font-weight: 400; }
.fc-calc__currency-prefix, .fc-calc__currency-suffix {
    padding: 0 14px; background: #f5f5f5; color: #999; font-weight: 600; font-size: 15px; line-height: 56px; white-space: nowrap;
}
.fc-calc__input-note { font-size: 12px; color: #e74c3c; margin: 6px 0 0; }

/* BREAKDOWN */
.fc-calc__breakdown { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; animation: fcFadeIn 0.3s ease; }
.fc-calc__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 14px; color: #555; }
.fc-calc__row--fee span:last-child { color: #e74c3c; font-weight: 500; }
.fc-calc__row--total { border-top: 2px solid #5fdce2; margin-top: 12px; padding-top: 16px; font-weight: 700; font-size: 20px; color: #1a1a1a; }
.fc-calc__row--total span:last-child { color: #5fdce2; font-size: 22px; }

/* BUTTON */
.fc-calc__action { margin-top: 24px; text-align: center; animation: fcFadeIn 0.3s ease; }
.fc-calc__btn {
    display: inline-block; width: 100%; padding: 16px 32px;
    background: linear-gradient(135deg, #25d366, #128c7e); color: #fff;
    border: none; border-radius: 12px; font-size: 16px; font-weight: 700;
    cursor: pointer; transition: all 0.2s ease; letter-spacing: 0.3px; font-family: inherit;
}
.fc-calc__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }
.fc-calc__trust { font-size: 11px; color: #aaa; margin-top: 12px; line-height: 1.5; }
.fc-calc__disclaimer { font-size: 11px; color: #bbb; margin-top: 24px; text-align: center; line-height: 1.5; }

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

/* RESPONSIVE */
@media (max-width: 600px) {
    .fc-calc { padding: 24px 20px; border-radius: 16px; margin: 0 12px; }
    .fc-calc__title { font-size: 20px; }
    .fc-calc__tabs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
    .fc-calc__tab { padding: 8px 4px; font-size: 11px; }
    .fc-calc__tab-logo { width: 22px; height: 22px; }
    .fc-calc__input { font-size: 18px; padding: 14px 12px; }
    .fc-calc__row--total { font-size: 18px; }
    .fc-calc__row--total span:last-child { font-size: 20px; }
    .fc-calc__btn { font-size: 15px; padding: 14px 24px; }
}
@media (max-width: 400px) { .fc-calc__tabs { grid-template-columns: repeat(2, 1fr); } }
