/**
 * KoinTool Swap v2.3 - Modal & Stepper Styling
 * Vision: 1200x600 Desktop-First, Step-by-Step Flow.
 */

.kt-modal-overlay {
    position: fixed; /* Covers entire viewport when active */
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.kt-modal-content {
    background: #121318;
    width: 1200px;
    height: 600px;
    border: 1px solid #2d3139;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.kt-modal-close {
    position: absolute;
    top: 20px; right: 25px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* Step Container & Typography */
.kt-modal-steps-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kt-step h4 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

/* Screen 1: Inputs */
.kt-step-1 { width: 100%; max-width: 600px; }
.kt-address-input, .kt-extra-id-input {
    width: 100%;
    background: #0d0e12;
    border: 1px solid #2d3139;
    padding: 20px;
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
}

/* Screen 3: Final Status Layout (Based on Screenshot) */
.kt-final-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    margin-bottom: 50px;
}

/* QR and Deposit Box */
.kt-deposit-box {
    background: #1b1d23;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}
.kt-qr-container img {
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

/* Status Bar Tracker */
.kt-status-bar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    margin-top: auto;
}
.kt-status-bar::before {
    content: '';
    position: absolute;
    top: 50%; left: 0; width: 100%; height: 2px;
    background: #2d3139;
    z-index: 1;
    transform: translateY(-50%);
}

.kt-status-step {
    background: #121318;
    padding: 10px 20px;
    border: 2px solid #2d3139;
    border-radius: 30px;
    font-size: 14px;
    color: #94a3b8;
    z-index: 2;
    transition: all 0.3s;
}

.kt-status-step.active {
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.kt-status-step.completed {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

/* Button override for modal */
.kt-modal-content .kt-btn-primary {
    max-width: 400px;
    margin: 20px auto 0;
}