/* ============================================
   RESET E ESTILOS PERSONALIZADOS
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0B0E14;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #E8EDF5;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(40, 167, 69, 0.03) 0%, transparent 70%),
                radial-gradient(ellipse at 80% 80%, rgba(40, 167, 69, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   HEADER PERSONALIZADO
   ============================================ */
.custom-header {
    background: rgba(11, 14, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(40, 167, 69, 0.15);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0;
    position: relative;
    z-index: 1000;
}

.custom-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.2), transparent);
}

.custom-header .nav-link {
    color: #B0C0D8 !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    padding: 0.5rem 0 !important;
}

.custom-header .nav-link:hover {
    color: #28a745 !important;
}

.custom-header .nav-link.entrar-btn {
    padding: 0.5rem 1.4rem !important;
    border: 1px solid rgba(40, 167, 69, 0.3);
    border-radius: 30px;
    color: #28a745 !important;
    font-weight: 600;
    background: rgba(40, 167, 69, 0.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.custom-header .nav-link.entrar-btn:hover {
    background: rgba(40, 167, 69, 0.12);
    border-color: rgba(40, 167, 69, 0.5);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-text span:first-child {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
}

.logo-text span:last-child {
    background: linear-gradient(135deg, #28a745, #20c997);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Menu Mobile */
.menu-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #E8EDF5;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2000;
}

.menu-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(40, 167, 69, 0.3);
}

.mobile-menu-overlay {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(40, 167, 69, 0.1);
    padding: 1rem 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 999;
}

.mobile-menu-overlay.open {
    display: block !important;
}

.mobile-menu-overlay .nav-link {
    color: #B0C0D8 !important;
    padding: 0.7rem 1.5rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-weight: 500;
}

.mobile-menu-overlay .nav-link:last-child {
    border-bottom: none;
}

.mobile-menu-overlay .nav-link:hover {
    color: #28a745 !important;
}

/* ============================================
   WIDGET CARD
   ============================================ */
.widget-card {
    background: #151924;
    border-radius: 24px;
    border: 1px solid rgba(40, 167, 69, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(40, 167, 69, 0.03) inset;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(40, 167, 69, 0.2), transparent);
    opacity: 0.6;
}

.widget-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(40, 167, 69, 0.02) 0%, transparent 60%);
    pointer-events: none;
}

.widget-card:hover {
    border-color: rgba(40, 167, 69, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(40, 167, 69, 0.05) inset;
    transform: translateY(-2px);
}

/* ============================================
   INPUTS COM GLASSMORPHISM
   ============================================ */
.input-group-custom {
    width: 100%;
}

.input-group-custom .input-amount {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 14px;
    color: #E8EDF5;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    width: 100%;
    padding: 0.8rem 1rem;
    min-height: 56px;
    font-size: 1.3rem;
    font-weight: 600;
    outline: none;
}

.input-group-custom .input-amount:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(40, 167, 69, 0.15);
}

.input-group-custom .input-amount:focus {
    border-color: rgba(40, 167, 69, 0.5);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.15), inset 0 0 0 1px rgba(40, 167, 69, 0.2);
    outline: none;
}

.input-group-custom .input-amount:read-only {
    opacity: 0.6;
    cursor: default;
}

.input-group-custom .input-amount:read-only:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(40, 167, 69, 0.08);
}

.input-group-custom .currency-select {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 14px;
    color: #E8EDF5;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    min-height: 56px;
    white-space: nowrap;
    width: 100%;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.input-group-custom .currency-select:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(40, 167, 69, 0.15);
}

.input-group-custom .currency-select .coin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================================
   BOTÃO DE SWAP
   ============================================ */
#btn-swap-coins {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 50%;
    color: #28a745;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    position: relative;
    font-family: 'Inter', sans-serif;
    padding: 0;
    font-size: 1.3rem;
}

#btn-swap-coins i {
    font-size: 1.3rem;
    line-height: 1;
}

#btn-swap-coins:hover {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: #28a745;
    color: #0B0E14;
    transform: rotate(180deg) scale(1.05);
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.2);
}

/* ============================================
   BOTÕES PRIMÁRIOS
   ============================================ */
.btn-primary-custom {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #0B0E14;
    border: none;
    border-radius: 15px;
    font-weight: 700;
    padding: 0.75rem;
    box-shadow: 0 4px 25px rgba(40, 167, 69, 0.25);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    flex: 2;
    width: 100%;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(40, 167, 69, 0.35);
}

.btn-primary-custom:active {
    transform: scale(0.97);
}

/* ============================================
   STEP INDICATOR
   ============================================ */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #28a745;
    border-color: #28a745;
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.3);
}

.step-dot.done {
    background: rgba(40, 167, 69, 0.4);
    border-color: rgba(40, 167, 69, 0.3);
}

.step-line {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.step-line.done {
    background: rgba(40, 167, 69, 0.3);
}

/* ============================================
   MÓDULOS DOS STEPS
   ============================================ */
.step-container {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.step-container.active {
    display: block;
}

.step-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #5A667A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
}

.step-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #E8EDF5;
    margin-bottom: 1.2rem;
}

/* ============================================
   MENSAGENS DE ERRO INLINE
   ============================================ */
.error-container {
    display: none;
    color: #ff6b6b;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 107, 107, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    animation: fadeIn 0.3s ease;
}

.error-container.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MÓDULOS DE PAGAMENTO
   ============================================ */
.payment-module {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 14px;
    padding: 1rem;
    margin-top: 0.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.payment-module:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(40, 167, 69, 0.15);
}

.payment-module .module-label {
    font-size: 0.75rem;
    color: #5A667A;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.payment-module .module-value {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 12px;
    padding: 0.8rem;
    text-align: center;
    font-family: 'Courier New', monospace;
    word-break: break-all;
    color: #f7b731;
    letter-spacing: 1px;
}

.payment-module .module-value.wallet {
    color: #28a745;
}

.payment-module .copy-btn-sm {
    background: rgba(40, 167, 69, 0.08);
    border: 1px solid rgba(40, 167, 69, 0.15);
    border-radius: 10px;
    color: #28a745;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Inter', sans-serif;
}

.payment-module .copy-btn-sm:hover {
    background: rgba(40, 167, 69, 0.15);
    border-color: rgba(40, 167, 69, 0.25);
}

.payment-module .resumo-box {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.payment-module .resumo-box p {
    margin: 0;
    color: #E8EDF5;
    font-size: 0.85rem;
}

/* ============================================
   DADOS DE PAGAMENTO (LISTA)
   ============================================ */
.payment-data-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-bottom: 0.8rem;
}

.payment-data-list .data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.payment-data-list .data-row:last-child {
    border-bottom: none;
}

.payment-data-list .data-label {
    color: #5A667A;
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-data-list .data-value {
    color: #E8EDF5;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-data-list .data-value .copy-icon {
    color: #5A667A;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.payment-data-list .data-value .copy-icon:hover {
    color: #28a745;
}

.payment-data-list .data-value .copy-icon.text-success {
    color: #28a745 !important;
}

/* ============================================
   DESTINO INPUTS
   ============================================ */
.dest-input {
    width: 100%;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 12px;
    color: #E8EDF5;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.dest-input:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(40, 167, 69, 0.15);
}

.dest-input:focus {
    border-color: rgba(40, 167, 69, 0.5);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.1);
}

.dest-input::placeholder {
    color: #5A667A;
}

.dest-select {
    width: 100%;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 12px;
    color: #E8EDF5;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.dest-select:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(40, 167, 69, 0.15);
}

.dest-select:focus {
    border-color: rgba(40, 167, 69, 0.5);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.1);
}

.dest-select option {
    background: #1A1F2E;
    color: #E8EDF5;
}

/* ============================================
   UPLOAD DE COMPROVATIVO
   ============================================ */
.upload-area {
    border: 2px dashed rgba(40, 167, 69, 0.2);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.01);
}

.upload-area:hover {
    border-color: rgba(40, 167, 69, 0.4);
    background: rgba(255, 255, 255, 0.02);
}

.upload-area i {
    font-size: 3rem;
    color: #5A667A;
    display: block;
    margin-bottom: 0.5rem;
}

.upload-area .upload-text {
    color: #9AA4B8;
    font-size: 0.9rem;
}

.upload-area .upload-sub {
    color: #5A667A;
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.upload-area .file-name {
    color: #28a745;
    font-weight: 600;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.upload-area input[type="file"] {
    display: none;
}

/* ============================================
   TELA FINAL - CONVERSÃO PENDENTE
   ============================================ */
.final-screen {
    text-align: center;
    padding: 1rem 0.5rem;
}

.final-screen .icon-clock {
    font-size: 3rem;
    color: #f7b731;
    display: block;
    margin-bottom: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

.final-screen .final-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f7b731;
    margin-bottom: 0.2rem;
}

.final-screen .final-sub {
    color: #9AA4B8;
    font-size: 0.85rem;
}

.final-screen .details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
    margin-top: 0.8rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.final-screen .details-grid .label {
    color: #5A667A;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.final-screen .details-grid .value {
    color: #E8EDF5;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: right;
    word-break: break-all;
}

.final-screen .details-grid .value.accent {
    color: #f7b731;
}

.final-screen .details-grid .value.green {
    color: #28a745;
}

.final-screen .support-msg {
    margin-top: 0.8rem;
    color: #9AA4B8;
    font-size: 0.8rem;
}

.final-screen .support-msg a {
    color: #28a745;
    text-decoration: none;
    font-weight: 600;
}

.final-screen .support-msg a:hover {
    text-decoration: underline;
}

.final-screen .btn-reset {
    margin-top: 1rem;
    padding: 0.6rem 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #9AA4B8;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.final-screen .btn-reset:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #E8EDF5;
}

/* ============================================
   DROPDOWNS DE MOEDAS
   ============================================ */
.currency-dropdown {
    background: rgba(26, 31, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(40, 167, 69, 0.03) inset;
    padding: 0.5rem;
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    z-index: 100;
}

.currency-dropdown .search-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(40, 167, 69, 0.08);
    border-radius: 12px;
    color: #E8EDF5;
    padding: 0.5rem 0.8rem;
    width: 100%;
    outline: none;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
}

.currency-dropdown .search-input:focus {
    border-color: rgba(40, 167, 69, 0.4);
    box-shadow: 0 0 12px rgba(40, 167, 69, 0.1);
}

.currency-dropdown .currency-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.8rem;
    border-radius: 12px;
    cursor: pointer;
    color: #9AA4B8;
    transition: all 0.2s ease;
}

.currency-dropdown .currency-option:hover {
    background: rgba(40, 167, 69, 0.06);
    color: #E8EDF5;
}

.currency-dropdown .currency-option .coin-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

/* ============================================
   TOASTS E MODAIS - TEMA ESCURO
   ============================================ */
.toast {
    background: #151924;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.toast .toast-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #E8EDF5;
}

.toast .toast-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.6;
}

.toast .toast-body {
    color: #E8EDF5;
}

.modal-content {
    background: #151924;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.8rem 1rem;
}

.modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.6;
}

.modal-body {
    color: #E8EDF5;
    padding: 1rem;
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.8rem 1rem;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    padding-bottom: 0.2rem;
}

/* ============================================
   RODAPÉ
   ============================================ */
.custom-footer {
    background: transparent;
    border-top: none;
    padding: 0;
    margin-top: 2rem;
}

.footer-divider {
    width: 50%;
    height: 2px;
    background: #28a745;
    margin: 1rem auto;
    border-radius: 2px;
    opacity: 0.6;
}

/* ============================================
   UTILITÁRIOS
   ============================================ */
.text-secondary-custom {
    color: #9AA4B8;
}

.text-muted-custom {
    color: #5A667A;
}

.text-accent {
    color: #f7b731;
}

.text-green {
    color: #28a745;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

/* ============================================
   ANIMAÇÃO
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.widget-card {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-module {
    animation: fadeInUp 0.4s ease-out;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(40, 167, 69, 0.2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(40, 167, 69, 0.4);
}

::selection {
    background: rgba(40, 167, 69, 0.2);
    color: #E8EDF5;
}

/* ============================================
   OVERRIDES BOOTSTRAP
   ============================================ */
.btn:focus,
.form-control:focus {
    box-shadow: none !important;
}

.form-control {
    background: transparent !important;
    border: none !important;
}

.btn-secondary-custom {
    flex: 1;
    padding: 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    color: #9AA4B8;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.btn-secondary-custom:hover {
    background: rgba(255, 255, 255, 0.05);
}

.btn-modal-cancel {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #9AA4B8;
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    flex: 1;
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-modal-confirm {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 12px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    color: #0B0E14;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    flex: 1;
}

.btn-modal-confirm:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .custom-header {
        padding: 0.3rem 0;
    }

    .hero-header {
        padding: 0.5rem 0 0.8rem !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.1rem !important;
        margin-top: 0.2rem !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-top: 0 !important;
    }

    .widget-card {
        padding: 1.2rem;
        border-radius: 20px;
        margin-bottom: 1rem;
    }

    .input-group-custom .input-amount {
        font-size: 1.1rem;
        padding: 0.6rem 0.8rem;
        min-height: 48px;
    }

    .input-group-custom .currency-select {
        min-height: 48px;
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .step-subtitle {
        font-size: 1rem;
    }

    .step-line {
        width: 20px;
    }

    .final-screen .details-grid {
        grid-template-columns: 1fr;
        gap: 0.2rem;
    }

    .final-screen .details-grid .value {
        text-align: left;
    }

    .modal-content {
        margin: 1rem;
    }

    .toast {
        width: calc(100% - 2rem) !important;
        max-width: 100% !important;
        margin: 0 auto;
    }

    .toast-container {
        padding: 0 1rem;
    }

    .btn-primary-custom {
        font-size: 0.9rem;
        padding: 0.6rem;
        width: 100%;
    }

    .btn-secondary-custom {
        font-size: 0.85rem;
        padding: 0.6rem;
        flex: 0 0 35%;
        max-width: 110px;
    }

    .payment-data-list .data-label {
        font-size: 0.75rem;
    }

    .payment-data-list .data-value {
        font-size: 0.8rem;
    }

    .final-screen .final-title {
        font-size: 1.1rem;
    }

    .final-screen .icon-clock {
        font-size: 2.5rem;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
        font-size: 0.85rem;
        padding: 0.4rem 1rem;
    }
}

@media (max-width: 576px) {
    .custom-header {
        padding: 0.2rem 0;
    }

    .hero-title {
        font-size: 1.3rem !important;
        margin-top: 0.1rem !important;
    }

    .hero-subtitle {
        font-size: 0.8rem !important;
    }

    .widget-card {
        padding: 1rem;
        border-radius: 16px;
        margin-bottom: 0.8rem;
    }

    .input-group-custom .input-amount {
        font-size: 1rem;
        padding: 0.5rem 0.7rem;
        min-height: 44px;
    }

    .input-group-custom .currency-select {
        min-height: 44px;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    #btn-swap-coins {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    #btn-swap-coins i {
        font-size: 1.1rem;
    }

    .step-subtitle {
        font-size: 0.9rem;
    }

    .step-line {
        width: 15px;
    }

    .footer-divider {
        width: 70%;
    }

    .upload-area {
        padding: 1.5rem 1rem;
    }

    .upload-area i {
        font-size: 2.5rem;
    }

    .modal-content {
        margin: 0.5rem;
        border-radius: 12px;
    }

    .toast {
        width: calc(100% - 1rem) !important;
    }

    .dest-select,
    .dest-input {
        font-size: 0.85rem;
        padding: 0.6rem 0.7rem;
    }

    .error-container {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .btn-primary-custom {
        font-size: 0.85rem;
        padding: 0.5rem;
        width: 100%;
    }

    .btn-secondary-custom {
        font-size: 0.8rem;
        padding: 0.5rem;
        flex: 0 0 30%;
        max-width: 90px;
    }

    .payment-data-list .data-label {
        font-size: 0.7rem;
    }

    .payment-data-list .data-value {
        font-size: 0.75rem;
    }

    .final-screen .final-title {
        font-size: 1rem;
    }

    .final-screen .icon-clock {
        font-size: 2rem;
    }

    .final-screen .details-grid {
        padding: 0.6rem;
    }

    .final-screen .details-grid .label {
        font-size: 0.65rem;
    }

    .final-screen .details-grid .value {
        font-size: 0.75rem;
    }

    .final-screen .support-msg {
        font-size: 0.75rem;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
        font-size: 0.8rem;
        padding: 0.35rem 0.8rem;
    }
}

/* ============================================
   LOADING STATE PARA INPUTS E BOTÕES
   ============================================ */
.input-amount.loading {
    opacity: 0.5;
    cursor: wait;
}

.currency-select.loading {
    opacity: 0.5;
    cursor: wait;
}

.btn-primary-custom.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading-spinner {
    display: none;
    text-align: center;
    padding: 1rem;
    color: #5A667A;
}

.loading-spinner.active {
    display: block;
}

.loading-spinner i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============================================
   COIN ICONS
   ============================================ */
.coin-icon-sm {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.coin-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CARD DE DETALHES
   ============================================ */
.details-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 1rem 1.2rem;
    width: 100%;
    transition: all 0.3s ease;
}

.details-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.details-card .detail-row:last-child {
    border-bottom: none;
}

.details-card .detail-label {
    color: #5A667A;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.details-card .detail-value {
    font-weight: 600;
    font-size: 0.85rem;
    text-align: right;
    word-break: break-all;
    max-width: 60%;
}

.details-card .detail-value.accent {
    color: #f7b731;
}

.details-card .detail-value.green {
    color: #28a745;
}

.details-card .detail-value.white {
    color: #E8EDF5;
}

.details-card .detail-value.small {
    font-size: 0.8rem;
}