@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

body {
    background-color: #050505;
    color: #00ff41;
    font-family: 'Share Tech Mono', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.card {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.2);
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    position: relative;
}

h1 {
    margin: 0;
    font-size: 2.5em;
    letter-spacing: 2px;
    text-shadow: 0 0 10px #00ff41;
}

.subtitle {
    color: #888;
    margin-bottom: 20px;
    font-size: 0.9em;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.status-box {
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 10px;
    margin-bottom: 20px;
    font-size: 0.9em;
    min-height: 20px;
    text-align: left;
    border-left: 3px solid #00ff41;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.8em;
    color: #aaa;
}

input {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    padding: 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1em;
    box-sizing: border-box;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: #00ff41;
    box-shadow: 0 0 5px rgba(0, 255, 65, 0.3);
}

.btn-drain {
    width: 100%;
    background: #00ff41;
    color: #000;
    border: none;
    padding: 15px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.4);
    margin-bottom: 10px;
}

.btn-drain:hover {
    background: #00cc33;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.btn-drain:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.network-switch {
    margin-top: 15px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 10px;
}
.net-btn {
    background: #222;
    color: #fff;
    border: 1px solid #555;
    padding: 5px 10px;
    cursor: pointer;
    font-family: inherit;
    margin: 0 5px;
}
.net-btn:hover {
    background: #444;
}

.info {
    margin-top: 20px;
    font-size: 0.75em;
    color: #555;
    border-top: 1px solid #222;
    padding-top: 10px;
}

/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    background-color: #111;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #00ff41;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover { color: #fff; }

.token-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
}

.token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #222;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 3px;
}

.token-name {
    font-weight: bold;
    color: #00ff41;
}
.token-bal {
    color: #aaa;
    font-size: 0.8em;
}

.drain-btn-sm {
    background: #00ff41;
    color: #000;
    border: none;
    padding: 5px 15px;
    font-weight: bold;
    cursor: pointer;
}
.drain-btn-sm:hover {
    background: #00cc33;
}
