.token-display {
    background-color: #0c0c10;
    border-radius: 3px;
    padding: 1.2rem 0.75rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.7);
    margin-top: 0.75rem;
    display: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 35px 35px;
}

.token-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8aa3c0;
    margin-bottom: 0.6rem;
}

.dynamic-code {
    font-size: 3.4rem;
    font-weight: 700;
    font-family: 'Fira Code', 'JetBrains Mono', 'Courier New', monospace;
    color: #d6ecff;
    text-shadow: 0 0 12px #2f7fb5;
    letter-spacing: 8px;
    word-break: break-all;
    line-height: 1.2;
}

.timer-section {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #afc9e8;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

#timerText{
    font-size: 0.6rem;
    color: #607d8b;
}


@media screen and (max-width: 420px){
    .action-bar button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .action-bar button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .action-bar button:nth-child(3){
        width: calc(50% - 0.25rem);
        float: left;
        margin-top: 0.5rem;
    }
    .action-bar button:nth-child(4){
        width: calc(50% - 0.25rem);
        float: right;
        margin-top: 0.5rem;
    }

    .dynamic-code {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 390px){
    .action-bar button:nth-child(1){
        width: calc(50% - 0.25rem);
        float: left;
    }
    .action-bar button:nth-child(2){
        width: calc(50% - 0.25rem);
        float: right;
    }
    .action-bar button:nth-child(3){
        width: calc(50% - 0.25rem);
        float: left;
        margin-top: 0.5rem;
    }
    .action-bar button:nth-child(4){
        width: calc(50% - 0.25rem);
        float: right;
        margin-top: 0.5rem;
    }
}

@media screen and (max-width: 300px){
    .dynamic-code {
        font-size: 1.8rem;
    }
}