@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
@import url('https://fonts.cdnfonts.com/css/digital-7-mono');

body {
    background-color: #333;
    color: #fff;
    font-family: 'Digital-7 Mono', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #c0c0c0;
    border: 5px solid #000;
    border-radius: 10px;
    padding: 1.5rem;
    width: 95%;
    max-width: 1200px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

h1 {
    font-family: 'Press Start 2P', cursive;
    color: #000;
    text-align: center;
    flex-grow: 1;
}

.main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 1rem;
}

.left-panel, .right-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.window {
    background-color: #d3d3d3;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 1rem;
    flex-grow: 1;
}

h2 {
    font-family: 'Press Start 2P', cursive;
    font-size: 1rem;
    color: #000;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.led-text {
    background-color: #8bac0f; /* Dull green */
    color: #0f380f; /* Dark green text */
    border: 2px solid #0f380f;
    border-radius: 3px;
    padding: 10px;
    font-family: 'Digital-7 Mono', sans-serif;
    font-size: 1.2rem;
    box-shadow: inset 2px 2px 4px rgba(0,0,0,0.5); /* Inset shadow for sunken effect */
}

input.led-text, textarea.led-text {
    width: calc(100% - 24px);
}

textarea.led-text {
    height: 100px;
    resize: vertical;
}

.rect-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    line-height: 1;
    text-align: center;
    background-color: #555;
    color: #fff;
    border: 2px solid #000;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 3px #333;
    text-transform: uppercase;
}
.rect-button:active {
    box-shadow: 0 1px #333;
    transform: translateY(2px);
}

.back-button {
    font-family: 'Press Start 2P', cursive;
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #c0c0c0;
    border: 5px solid #000;
    border-radius: 10px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.modal-content h2 {
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.token-option {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #000;
}

.token-option:last-child {
    border-bottom: none;
}

.token-option h3 {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: #000;
}

.token-option p {
    font-family: 'Digital-7 Mono', sans-serif;
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
}

.token-option input, .token-option textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 10px;
    border: 2px solid #000;
    border-radius: 5px;
    background-color: #d3d3d3;
    font-family: 'Digital-7 Mono', sans-serif;
}

.token-option button {
    width: 100%;
}

.token-list .token-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    border-bottom: 1px solid #0f380f;
}

.token-item .token-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
    border: 1px solid #ddd;
}

.token-item .token-name-symbol {
    flex-grow: 1;
    text-align: left;
}

.token-item .options-btn {
    background-color: #444;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #555;
    font-size: 0.8rem;
    white-space: nowrap;
}

.token-list .token-item:last-child {
    border-bottom: none;
}

.token-list .token-item a, .token-list .token-item button {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    background: #555;
    color: #fff;
    border: 1px solid #000;
    padding: 5px 8px;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
}