/* Mobile-Optimized Token Preview Styling */

/* Mobile Token Preview Container */
.mobile-token-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px auto 20px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(16, 24, 52, 0.8) 0%, rgba(25, 37, 80, 0.9) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(107, 138, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 340px;
    width: 100%;
}

/* Perfectly circular token logo container */
.mobile-token-logo {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(15, 32, 87, 0.9) 0%, rgba(32, 57, 148, 0.8) 100%);
    box-shadow: 0 4px 12px rgba(0, 148, 255, 0.3), inset 0 0 0 1px rgba(107, 138, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(107, 138, 255, 0.3);
    flex-shrink: 0;
}

/* Styling for the letter placeholder */
.mobile-token-logo-letter {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Styling for the uploaded image */
.mobile-token-logo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Token details container */
.mobile-token-details {
    text-align: center;
    width: 100%;
}

/* Token name styling */
.mobile-token-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    background: linear-gradient(90deg, #e0e8ff 0%, #a0c5ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Token symbol styling */
.mobile-token-symbol {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 10px;
    background: rgba(0, 148, 255, 0.1);
    border-radius: 12px;
    display: inline-block;
    border: 1px solid rgba(107, 138, 255, 0.2);
}

/* Network indicator styling */
.mobile-network-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.mobile-network-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14F195;
    margin-right: 6px;
    box-shadow: 0 0 5px rgba(20, 241, 149, 0.7);
}

.mobile-network-name {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive styles */
@media screen and (max-width: 480px) {
    .mobile-token-preview {
        padding: 12px;
        max-width: 300px;
    }
    
    .mobile-token-logo {
        width: 64px;
        height: 64px;
    }
    
    .mobile-token-logo-letter {
        font-size: 26px;
    }
    
    .mobile-token-name {
        font-size: 18px;
    }
    
    .mobile-token-symbol {
        font-size: 14px;
    }
}

/* Hide original preview on mobile */
@media screen and (max-width: 767px) {
    .token-preview {
        display: none !important;
    }
    
    .network-indicator {
        display: none !important;
    }
}

/* Hide mobile preview on desktop */
@media screen and (min-width: 768px) {
    .mobile-token-preview {
        display: none;
    }
}
